home *** CD-ROM | disk | FTP | other *** search
-
- /* A Bison parser, made from objc-parse.y with Bison version GNU Bison version 1.22
- */
-
- #define YYBISON 1 /* Identify Bison output. */
-
- #define IDENTIFIER 258
- #define TYPENAME 259
- #define SCSPEC 260
- #define TYPESPEC 261
- #define TYPE_QUAL 262
- #define CONSTANT 263
- #define STRING 264
- #define ELLIPSIS 265
- #define SIZEOF 266
- #define ENUM 267
- #define STRUCT 268
- #define UNION 269
- #define IF 270
- #define ELSE 271
- #define WHILE 272
- #define DO 273
- #define FOR 274
- #define SWITCH 275
- #define CASE 276
- #define DEFAULT 277
- #define BREAK 278
- #define CONTINUE 279
- #define RETURN 280
- #define GOTO 281
- #define ASM_KEYWORD 282
- #define TYPEOF 283
- #define ALIGNOF 284
- #define ATTRIBUTE 285
- #define EXTENSION 286
- #define LABEL 287
- #define REALPART 288
- #define IMAGPART 289
- #define ASSIGN 290
- #define OROR 291
- #define ANDAND 292
- #define EQCOMPARE 293
- #define ARITHCOMPARE 294
- #define LSHIFT 295
- #define RSHIFT 296
- #define UNARY 297
- #define PLUSPLUS 298
- #define MINUSMINUS 299
- #define HYPERUNARY 300
- #define POINTSAT 301
- #define INTERFACE 302
- #define IMPLEMENTATION 303
- #define END 304
- #define SELECTOR 305
- #define DEFS 306
- #define ENCODE 307
- #define CLASSNAME 308
- #define PUBLIC 309
- #define PRIVATE 310
- #define PROTECTED 311
- #define PROTOCOL 312
- #define OBJECTNAME 313
- #define CLASS 314
- #define ALIAS 315
- #define OBJC_STRING 316
-
- #line 32 "objc-parse.y"
-
- #include <stdio.h>
- #include <errno.h>
- #include <setjmp.h>
-
- #include "config.h"
- #include "tree.h"
- #include "input.h"
- #include "c-lex.h"
- #include "c-tree.h"
- #include "flags.h"
-
- #ifdef MULTIBYTE_CHARS
- #include <stdlib.h>
- #include <locale.h>
- #endif
-
- #include "objc-act.h"
-
- /* Since parsers are distinct for each language, put the language string
- definition here. */
- char *language_string = "GNU Obj-C";
-
- #ifndef errno
- extern int errno;
- #endif
-
- void yyerror ();
-
- /* Like YYERROR but do call yyerror. */
- #define YYERROR1 { yyerror ("syntax error"); YYERROR; }
-
- /* Cause the `yydebug' variable to be defined. */
- #define YYDEBUG 1
-
- #line 70 "objc-parse.y"
- typedef union {long itype; tree ttype; enum tree_code code;
- char *filename; int lineno; } YYSTYPE;
- #line 192 "objc-parse.y"
-
- /* Number of statements (loosely speaking) seen so far. */
- static int stmt_count;
-
- /* Input file and line number of the end of the body of last simple_if;
- used by the stmt-rule immediately after simple_if returns. */
- static char *if_stmt_file;
- static int if_stmt_line;
-
- /* List of types and structure classes of the current declaration. */
- static tree current_declspecs;
- static tree prefix_attributes = NULL_TREE;
-
- /* Stack of saved values of current_declspecs and prefix_attributes. */
- static tree declspec_stack;
-
- /* 1 if we explained undeclared var errors. */
- static int undeclared_variable_notice;
-
- /* Objective-C specific information */
-
- tree objc_interface_context;
- tree objc_implementation_context;
- tree objc_method_context;
- tree objc_ivar_chain;
- tree objc_ivar_context;
- enum tree_code objc_inherit_code;
- int objc_receiver_context;
- int objc_public_flag;
-
-
- /* Tell yyparse how to print a token's value, if yydebug is set. */
-
- #define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL)
- extern void yyprint ();
-
- #ifndef YYLTYPE
- typedef
- struct yyltype
- {
- int timestamp;
- int first_line;
- int first_column;
- int last_line;
- int last_column;
- char *text;
- }
- yyltype;
-
- #define YYLTYPE yyltype
- #endif
-
- #include <stdio.h>
-
- #ifndef __cplusplus
- #ifndef __STDC__
- #define const
- #endif
- #endif
-
-
-
- #define YYFINAL 914
- #define YYFLAG -32768
- #define YYNTBASE 84
-
- #define YYTRANSLATE(x) ((unsigned)(x) <= 316 ? yytranslate[x] : 293)
-
- static const char yytranslate[] = { 0,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 80, 2, 2, 2, 52, 43, 2, 59,
- 76, 50, 48, 81, 49, 58, 51, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 38, 77, 2,
- 36, 2, 37, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 60, 2, 83, 42, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 82, 41, 78, 79, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 1, 2, 3, 4, 5,
- 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
- 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
- 26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
- 39, 40, 44, 45, 46, 47, 53, 54, 55, 56,
- 57, 61, 62, 63, 64, 65, 66, 67, 68, 69,
- 70, 71, 72, 73, 74, 75
- };
-
- #if YYDEBUG != 0
- static const short yyprhs[] = { 0,
- 0, 1, 3, 4, 7, 8, 12, 14, 16, 18,
- 24, 28, 33, 38, 41, 44, 47, 50, 52, 53,
- 54, 62, 67, 68, 69, 77, 82, 83, 84, 91,
- 95, 97, 99, 101, 103, 105, 107, 109, 111, 113,
- 115, 117, 119, 120, 122, 124, 128, 130, 133, 134,
- 138, 141, 144, 147, 152, 155, 160, 163, 166, 168,
- 173, 174, 182, 184, 188, 192, 196, 200, 204, 208,
- 212, 216, 220, 224, 228, 232, 236, 240, 246, 250,
- 254, 256, 258, 260, 264, 268, 269, 274, 279, 284,
- 288, 292, 295, 298, 300, 302, 304, 306, 308, 310,
- 313, 315, 318, 319, 321, 324, 328, 330, 332, 335,
- 338, 343, 348, 351, 354, 358, 360, 362, 365, 368,
- 369, 370, 375, 380, 384, 388, 391, 394, 397, 401,
- 402, 405, 408, 410, 412, 415, 418, 421, 425, 426,
- 429, 431, 433, 435, 438, 441, 446, 451, 453, 455,
- 457, 459, 463, 465, 469, 470, 475, 476, 483, 487,
- 488, 495, 499, 500, 502, 504, 507, 514, 516, 520,
- 521, 523, 528, 535, 540, 542, 544, 546, 548, 550,
- 551, 556, 558, 559, 562, 564, 568, 570, 571, 576,
- 578, 579, 584, 585, 591, 592, 593, 599, 600, 601,
- 607, 609, 611, 615, 619, 624, 628, 632, 636, 638,
- 640, 644, 649, 653, 657, 661, 663, 667, 671, 675,
- 680, 684, 688, 690, 691, 699, 705, 708, 709, 717,
- 723, 726, 727, 736, 737, 745, 748, 749, 751, 752,
- 754, 756, 759, 760, 764, 767, 772, 776, 778, 782,
- 784, 786, 788, 792, 797, 804, 810, 812, 816, 818,
- 820, 824, 827, 830, 831, 833, 835, 838, 839, 842,
- 846, 850, 853, 857, 862, 866, 869, 873, 876, 880,
- 882, 885, 888, 889, 891, 894, 895, 896, 898, 900,
- 903, 907, 909, 912, 915, 922, 928, 934, 937, 940,
- 945, 946, 951, 952, 953, 957, 962, 966, 968, 970,
- 972, 974, 977, 978, 983, 985, 989, 990, 991, 999,
- 1005, 1008, 1009, 1010, 1011, 1024, 1025, 1032, 1035, 1038,
- 1041, 1045, 1052, 1061, 1072, 1085, 1089, 1094, 1096, 1098,
- 1099, 1106, 1110, 1116, 1119, 1122, 1123, 1125, 1126, 1128,
- 1129, 1131, 1133, 1137, 1142, 1144, 1148, 1149, 1152, 1155,
- 1156, 1161, 1164, 1165, 1167, 1169, 1173, 1175, 1179, 1184,
- 1189, 1194, 1199, 1204, 1205, 1208, 1210, 1213, 1215, 1219,
- 1221, 1225, 1227, 1229, 1231, 1233, 1235, 1237, 1239, 1243,
- 1247, 1252, 1253, 1254, 1265, 1266, 1273, 1274, 1275, 1288,
- 1289, 1298, 1299, 1306, 1309, 1310, 1319, 1324, 1325, 1335,
- 1341, 1342, 1349, 1350, 1354, 1358, 1360, 1362, 1364, 1366,
- 1367, 1371, 1374, 1378, 1382, 1384, 1385, 1387, 1391, 1393,
- 1397, 1400, 1401, 1402, 1403, 1411, 1412, 1413, 1414, 1422,
- 1423, 1424, 1427, 1429, 1431, 1434, 1435, 1439, 1441, 1443,
- 1444, 1445, 1451, 1452, 1453, 1459, 1464, 1466, 1472, 1475,
- 1476, 1479, 1480, 1482, 1484, 1486, 1489, 1492, 1497, 1500,
- 1503, 1505, 1509, 1512, 1515, 1518, 1519, 1522, 1523, 1527,
- 1529, 1531, 1534, 1536, 1538, 1540, 1542, 1544, 1546, 1548,
- 1550, 1552, 1554, 1556, 1558, 1560, 1562, 1564, 1566, 1568,
- 1570, 1572, 1574, 1576, 1578, 1580, 1582, 1584, 1591, 1595,
- 1601, 1604, 1606, 1608, 1610, 1613, 1615, 1619, 1622, 1624,
- 1626, 1627, 1628, 1635, 1637, 1639, 1641, 1644, 1647, 1649,
- 1654, 1659
- };
-
- static const short yyrhs[] = { -1,
- 85, 0, 0, 86, 88, 0, 0, 85, 87, 88,
- 0, 90, 0, 89, 0, 225, 0, 27, 59, 99,
- 76, 77, 0, 117, 128, 77, 0, 122, 117, 128,
- 77, 0, 120, 117, 127, 77, 0, 122, 77, 0,
- 120, 77, 0, 1, 77, 0, 1, 78, 0, 77,
- 0, 0, 0, 120, 117, 154, 91, 111, 92, 184,
- 0, 120, 117, 154, 1, 0, 0, 0, 122, 117,
- 157, 93, 111, 94, 184, 0, 122, 117, 157, 1,
- 0, 0, 0, 117, 157, 95, 111, 96, 184, 0,
- 117, 157, 1, 0, 3, 0, 4, 0, 72, 0,
- 67, 0, 43, 0, 49, 0, 48, 0, 54, 0,
- 55, 0, 79, 0, 80, 0, 101, 0, 0, 101,
- 0, 106, 0, 101, 81, 106, 0, 107, 0, 50,
- 104, 0, 0, 31, 103, 104, 0, 98, 104, 0,
- 40, 97, 0, 11, 102, 0, 11, 59, 172, 76,
- 0, 29, 102, 0, 29, 59, 172, 76, 0, 33,
- 104, 0, 34, 104, 0, 102, 0, 59, 172, 76,
- 104, 0, 0, 59, 172, 76, 82, 105, 142, 78,
- 0, 104, 0, 106, 48, 106, 0, 106, 49, 106,
- 0, 106, 50, 106, 0, 106, 51, 106, 0, 106,
- 52, 106, 0, 106, 46, 106, 0, 106, 47, 106,
- 0, 106, 45, 106, 0, 106, 44, 106, 0, 106,
- 43, 106, 0, 106, 41, 106, 0, 106, 42, 106,
- 0, 106, 40, 106, 0, 106, 39, 106, 0, 106,
- 37, 208, 38, 106, 0, 106, 36, 106, 0, 106,
- 35, 106, 0, 3, 0, 8, 0, 109, 0, 59,
- 99, 76, 0, 59, 1, 76, 0, 0, 59, 108,
- 185, 76, 0, 107, 59, 100, 76, 0, 107, 60,
- 99, 83, 0, 107, 58, 97, 0, 107, 57, 97,
- 0, 107, 54, 0, 107, 55, 0, 284, 0, 290,
- 0, 291, 0, 292, 0, 110, 0, 9, 0, 109,
- 9, 0, 75, 0, 110, 75, 0, 0, 113, 0,
- 113, 10, 0, 190, 191, 114, 0, 112, 0, 179,
- 0, 113, 112, 0, 112, 179, 0, 120, 117, 127,
- 77, 0, 122, 117, 128, 77, 0, 120, 77, 0,
- 122, 77, 0, 190, 191, 119, 0, 115, 0, 179,
- 0, 116, 115, 0, 115, 179, 0, 0, 0, 120,
- 117, 127, 77, 0, 122, 117, 128, 77, 0, 120,
- 117, 148, 0, 122, 117, 151, 0, 120, 77, 0,
- 122, 77, 0, 125, 121, 0, 122, 125, 121, 0,
- 0, 121, 126, 0, 121, 5, 0, 7, 0, 5,
- 0, 122, 7, 0, 122, 5, 0, 125, 124, 0,
- 174, 125, 124, 0, 0, 124, 126, 0, 6, 0,
- 158, 0, 4, 0, 67, 241, 0, 72, 241, 0,
- 28, 59, 99, 76, 0, 28, 59, 172, 76, 0,
- 6, 0, 7, 0, 158, 0, 130, 0, 127, 81,
- 130, 0, 132, 0, 128, 81, 130, 0, 0, 27,
- 59, 109, 76, 0, 0, 154, 129, 134, 36, 131,
- 140, 0, 154, 129, 134, 0, 0, 157, 129, 134,
- 36, 133, 140, 0, 157, 129, 134, 0, 0, 135,
- 0, 136, 0, 135, 136, 0, 30, 59, 59, 137,
- 76, 76, 0, 138, 0, 137, 81, 138, 0, 0,
- 139, 0, 139, 59, 3, 76, 0, 139, 59, 3,
- 81, 101, 76, 0, 139, 59, 100, 76, 0, 97,
- 0, 5, 0, 6, 0, 7, 0, 106, 0, 0,
- 82, 141, 142, 78, 0, 1, 0, 0, 143, 163,
- 0, 144, 0, 143, 81, 144, 0, 106, 0, 0,
- 82, 145, 142, 78, 0, 1, 0, 0, 97, 38,
- 146, 144, 0, 0, 58, 97, 36, 147, 144, 0,
- 0, 0, 154, 149, 111, 150, 185, 0, 0, 0,
- 157, 152, 111, 153, 185, 0, 155, 0, 157, 0,
- 59, 155, 76, 0, 155, 59, 220, 0, 155, 60,
- 99, 83, 0, 155, 60, 83, 0, 50, 175, 155,
- 0, 135, 118, 155, 0, 4, 0, 72, 0, 156,
- 59, 220, 0, 156, 60, 99, 83, 0, 156, 60,
- 83, 0, 50, 175, 156, 0, 135, 118, 156, 0,
- 4, 0, 157, 59, 220, 0, 59, 157, 76, 0,
- 50, 175, 157, 0, 157, 60, 99, 83, 0, 157,
- 60, 83, 0, 135, 118, 157, 0, 3, 0, 0,
- 13, 97, 82, 159, 165, 78, 134, 0, 13, 82,
- 165, 78, 134, 0, 13, 97, 0, 0, 14, 97,
- 82, 160, 165, 78, 134, 0, 14, 82, 165, 78,
- 134, 0, 14, 97, 0, 0, 12, 97, 82, 161,
- 170, 164, 78, 134, 0, 0, 12, 82, 162, 170,
- 164, 78, 134, 0, 12, 97, 0, 0, 81, 0,
- 0, 81, 0, 166, 0, 166, 167, 0, 0, 166,
- 167, 77, 0, 166, 77, 0, 65, 59, 67, 76,
- 0, 123, 117, 168, 0, 123, 0, 174, 117, 168,
- 0, 174, 0, 1, 0, 169, 0, 168, 81, 169,
- 0, 190, 191, 154, 134, 0, 190, 191, 154, 38,
- 106, 134, 0, 190, 191, 38, 106, 134, 0, 171,
- 0, 170, 81, 171, 0, 1, 0, 97, 0, 97,
- 36, 106, 0, 123, 173, 0, 174, 173, 0, 0,
- 176, 0, 7, 0, 174, 7, 0, 0, 175, 7,
- 0, 59, 176, 76, 0, 50, 175, 176, 0, 50,
- 175, 0, 176, 59, 213, 0, 176, 60, 99, 83,
- 0, 176, 60, 83, 0, 59, 213, 0, 60, 99,
- 83, 0, 60, 83, 0, 135, 118, 176, 0, 193,
- 0, 177, 193, 0, 177, 179, 0, 0, 177, 0,
- 1, 77, 0, 0, 0, 182, 0, 183, 0, 182,
- 183, 0, 32, 224, 77, 0, 185, 0, 1, 185,
- 0, 82, 78, 0, 82, 180, 181, 116, 178, 78,
- 0, 82, 180, 181, 1, 78, 0, 82, 180, 181,
- 177, 78, 0, 187, 192, 0, 187, 1, 0, 15,
- 59, 99, 76, 0, 0, 18, 189, 192, 17, 0,
- 0, 0, 190, 191, 195, 0, 190, 191, 206, 192,
- 0, 190, 191, 194, 0, 195, 0, 206, 0, 185,
- 0, 203, 0, 99, 77, 0, 0, 186, 16, 196,
- 192, 0, 186, 0, 186, 16, 1, 0, 0, 0,
- 17, 197, 59, 99, 76, 198, 192, 0, 188, 59,
- 99, 76, 77, 0, 188, 1, 0, 0, 0, 0,
- 19, 59, 208, 77, 199, 208, 77, 200, 208, 76,
- 201, 192, 0, 0, 20, 59, 99, 76, 202, 192,
- 0, 23, 77, 0, 24, 77, 0, 25, 77, 0,
- 25, 99, 77, 0, 27, 207, 59, 99, 76, 77,
- 0, 27, 207, 59, 99, 38, 209, 76, 77, 0,
- 27, 207, 59, 99, 38, 209, 38, 209, 76, 77,
- 0, 27, 207, 59, 99, 38, 209, 38, 209, 38,
- 212, 76, 77, 0, 26, 97, 77, 0, 26, 50,
- 99, 77, 0, 77, 0, 204, 0, 0, 19, 59,
- 107, 76, 205, 192, 0, 21, 106, 38, 0, 21,
- 106, 10, 106, 38, 0, 22, 38, 0, 97, 38,
- 0, 0, 7, 0, 0, 99, 0, 0, 210, 0,
- 211, 0, 210, 81, 211, 0, 9, 59, 99, 76,
- 0, 109, 0, 212, 81, 109, 0, 0, 214, 215,
- 0, 217, 76, 0, 0, 218, 77, 216, 215, 0,
- 1, 76, 0, 0, 10, 0, 218, 0, 218, 81,
- 10, 0, 219, 0, 218, 81, 219, 0, 120, 117,
- 156, 134, 0, 120, 117, 157, 134, 0, 120, 117,
- 173, 134, 0, 122, 117, 157, 134, 0, 122, 117,
- 173, 134, 0, 0, 221, 222, 0, 215, 0, 223,
- 76, 0, 3, 0, 223, 81, 3, 0, 97, 0,
- 224, 81, 97, 0, 229, 0, 227, 0, 228, 0,
- 239, 0, 248, 0, 63, 0, 97, 0, 226, 81,
- 97, 0, 73, 226, 77, 0, 74, 97, 97, 77,
- 0, 0, 0, 61, 97, 241, 82, 230, 242, 78,
- 231, 255, 63, 0, 0, 61, 97, 241, 232, 255,
- 63, 0, 0, 0, 61, 97, 38, 97, 241, 82,
- 233, 242, 78, 234, 255, 63, 0, 0, 61, 97,
- 38, 97, 241, 235, 255, 63, 0, 0, 62, 97,
- 82, 236, 242, 78, 0, 62, 97, 0, 0, 62,
- 97, 38, 97, 82, 237, 242, 78, 0, 62, 97,
- 38, 97, 0, 0, 61, 97, 59, 97, 76, 241,
- 238, 255, 63, 0, 62, 97, 59, 97, 76, 0,
- 0, 71, 97, 241, 240, 255, 63, 0, 0, 45,
- 226, 45, 0, 242, 243, 244, 0, 244, 0, 69,
- 0, 70, 0, 68, 0, 0, 244, 245, 77, 0,
- 244, 77, 0, 123, 117, 246, 0, 174, 117, 246,
- 0, 1, 0, 0, 247, 0, 246, 81, 247, 0,
- 154, 0, 154, 38, 106, 0, 38, 106, 0, 0,
- 0, 0, 48, 249, 265, 250, 266, 251, 184, 0,
- 0, 0, 0, 49, 252, 265, 253, 266, 254, 184,
- 0, 0, 0, 256, 257, 0, 260, 0, 89, 0,
- 257, 260, 0, 0, 257, 258, 89, 0, 77, 0,
- 1, 0, 0, 0, 48, 261, 265, 262, 259, 0,
- 0, 0, 49, 263, 265, 264, 259, 0, 59, 172,
- 76, 274, 0, 274, 0, 59, 172, 76, 275, 272,
- 0, 275, 272, 0, 0, 77, 267, 0, 0, 268,
- 0, 269, 0, 179, 0, 268, 269, 0, 269, 179,
- 0, 120, 117, 270, 77, 0, 120, 77, 0, 122,
- 77, 0, 271, 0, 270, 81, 271, 0, 156, 134,
- 0, 157, 134, 0, 173, 134, 0, 0, 81, 10,
- 0, 0, 81, 273, 217, 0, 276, 0, 278, 0,
- 275, 278, 0, 3, 0, 4, 0, 72, 0, 277,
- 0, 12, 0, 13, 0, 14, 0, 15, 0, 16,
- 0, 17, 0, 18, 0, 19, 0, 20, 0, 21,
- 0, 22, 0, 23, 0, 24, 0, 25, 0, 26,
- 0, 27, 0, 11, 0, 28, 0, 29, 0, 6,
- 0, 7, 0, 276, 38, 59, 172, 76, 97, 0,
- 276, 38, 97, 0, 38, 59, 172, 76, 97, 0,
- 38, 97, 0, 276, 0, 280, 0, 282, 0, 280,
- 282, 0, 101, 0, 276, 38, 281, 0, 38, 281,
- 0, 99, 0, 67, 0, 0, 0, 60, 285, 283,
- 286, 279, 83, 0, 276, 0, 288, 0, 289, 0,
- 288, 289, 0, 276, 38, 0, 38, 0, 64, 59,
- 287, 76, 0, 71, 59, 97, 76, 0, 66, 59,
- 172, 76, 0
- };
-
- #endif
-
- #if YYDEBUG != 0
- static const short yyrline[] = { 0,
- 230, 235, 249, 251, 251, 252, 254, 256, 257, 258,
- 268, 279, 284, 289, 291, 293, 294, 295, 300, 307,
- 309, 314, 319, 325, 327, 332, 337, 343, 345, 350,
- 357, 359, 360, 361, 364, 366, 368, 370, 372, 374,
- 376, 380, 384, 387, 390, 393, 397, 399, 402, 405,
- 408, 412, 440, 445, 447, 449, 451, 453, 457, 459,
- 462, 466, 493, 495, 497, 499, 501, 503, 505, 507,
- 509, 511, 513, 515, 517, 519, 521, 523, 525, 528,
- 534, 694, 695, 697, 703, 705, 719, 742, 744, 746,
- 758, 772, 774, 776, 778, 780, 782, 784, 789, 791,
- 797, 799, 803, 805, 806, 816, 821, 823, 824, 825,
- 828, 834, 839, 842, 850, 855, 857, 858, 859, 866,
- 876, 880, 886, 891, 896, 901, 903, 911, 914, 918,
- 920, 922, 933, 937, 939, 942, 955, 958, 962, 964,
- 972, 973, 974, 978, 980, 982, 984, 990, 991, 992,
- 995, 997, 1000, 1002, 1005, 1008, 1014, 1021, 1023, 1030,
- 1037, 1040, 1047, 1050, 1054, 1057, 1061, 1066, 1069, 1073,
- 1076, 1078, 1080, 1082, 1089, 1091, 1092, 1093, 1098, 1100,
- 1105, 1113, 1118, 1122, 1125, 1127, 1132, 1135, 1137, 1139,
- 1143, 1146, 1146, 1149, 1151, 1162, 1170, 1174, 1185, 1193,
- 1200, 1202, 1207, 1210, 1215, 1217, 1219, 1221, 1223, 1224,
- 1232, 1238, 1240, 1242, 1244, 1246, 1252, 1258, 1260, 1262,
- 1264, 1266, 1268, 1271, 1276, 1278, 1282, 1284, 1286, 1288,
- 1292, 1294, 1297, 1300, 1303, 1306, 1310, 1312, 1315, 1317,
- 1321, 1324, 1329, 1331, 1333, 1337, 1361, 1368, 1373, 1379,
- 1384, 1388, 1390, 1394, 1398, 1402, 1412, 1414, 1416, 1421,
- 1424, 1428, 1431, 1435, 1438, 1441, 1444, 1448, 1451, 1455,
- 1459, 1461, 1463, 1465, 1467, 1469, 1471, 1473, 1475, 1483,
- 1485, 1486, 1489, 1491, 1494, 1497, 1510, 1512, 1517, 1519,
- 1522, 1536, 1539, 1542, 1544, 1552, 1560, 1571, 1576, 1579,
- 1592, 1600, 1604, 1608, 1612, 1618, 1622, 1627, 1629, 1640,
- 1643, 1644, 1661, 1666, 1669, 1681, 1683, 1693, 1703, 1704,
- 1712, 1715, 1727, 1731, 1748, 1758, 1767, 1772, 1777, 1782,
- 1786, 1790, 1801, 1808, 1815, 1822, 1833, 1837, 1840, 1845,
- 1868, 1902, 1927, 1956, 1971, 1982, 1986, 1990, 1993, 1998,
- 2000, 2003, 2005, 2009, 2014, 2017, 2023, 2028, 2033, 2035,
- 2044, 2045, 2051, 2053, 2063, 2065, 2069, 2072, 2078, 2088,
- 2097, 2106, 2116, 2130, 2135, 2140, 2142, 2151, 2154, 2159,
- 2162, 2168, 2170, 2171, 2172, 2173, 2174, 2188, 2191, 2195,
- 2201, 2207, 2214, 2219, 2225, 2232, 2238, 2244, 2249, 2255,
- 2262, 2268, 2274, 2280, 2288, 2294, 2300, 2308, 2315, 2321,
- 2330, 2337, 2345, 2350, 2359, 2361, 2364, 2366, 2367, 2370,
- 2375, 2376, 2393, 2400, 2406, 2410, 2413, 2414, 2417, 2425,
- 2431, 2440, 2450, 2457, 2461, 2466, 2475, 2482, 2486, 2496,
- 2498, 2499, 2501, 2503, 2504, 2505, 2506, 2508, 2510, 2513,
- 2519, 2524, 2524, 2529, 2533, 2535, 2541, 2546, 2551, 2560,
- 2562, 2568, 2570, 2573, 2575, 2576, 2577, 2580, 2586, 2588,
- 2592, 2595, 2602, 2608, 2613, 2620, 2625, 2630, 2635, 2642,
- 2646, 2649, 2655, 2657, 2658, 2659, 2662, 2664, 2665, 2666,
- 2667, 2668, 2669, 2670, 2671, 2672, 2673, 2674, 2675, 2676,
- 2677, 2678, 2679, 2680, 2681, 2682, 2682, 2685, 2691, 2696,
- 2701, 2707, 2709, 2712, 2714, 2721, 2733, 2738, 2744, 2746,
- 2752, 2756, 2757, 2763, 2765, 2768, 2770, 2776, 2781, 2787,
- 2794, 2803
- };
-
- static const char * const yytname[] = { "$","error","$illegal.","IDENTIFIER",
- "TYPENAME","SCSPEC","TYPESPEC","TYPE_QUAL","CONSTANT","STRING","ELLIPSIS","SIZEOF",
- "ENUM","STRUCT","UNION","IF","ELSE","WHILE","DO","FOR","SWITCH","CASE","DEFAULT",
- "BREAK","CONTINUE","RETURN","GOTO","ASM_KEYWORD","TYPEOF","ALIGNOF","ATTRIBUTE",
- "EXTENSION","LABEL","REALPART","IMAGPART","ASSIGN","'='","'?'","':'","OROR",
- "ANDAND","'|'","'^'","'&'","EQCOMPARE","ARITHCOMPARE","LSHIFT","RSHIFT","'+'",
- "'-'","'*'","'/'","'%'","UNARY","PLUSPLUS","MINUSMINUS","HYPERUNARY","POINTSAT",
- "'.'","'('","'['","INTERFACE","IMPLEMENTATION","END","SELECTOR","DEFS","ENCODE",
- "CLASSNAME","PUBLIC","PRIVATE","PROTECTED","PROTOCOL","OBJECTNAME","CLASS","ALIAS",
- "OBJC_STRING","')'","';'","'}'","'~'","'!'","','","'{'","']'","program","extdefs",
- "@1","@2","extdef","datadef","fndef","@3","@4","@5","@6","@7","@8","identifier",
- "unop","expr","exprlist","nonnull_exprlist","unary_expr","@9","cast_expr","@10",
- "expr_no_commas","primary","@11","string","objc_string","xdecls","lineno_datadecl",
- "datadecls","datadecl","lineno_decl","decls","setspecs","setattrs","decl","typed_declspecs",
- "reserved_declspecs","declmods","typed_typespecs","reserved_typespecquals","typespec",
- "typespecqual_reserved","initdecls","notype_initdecls","maybeasm","initdcl",
- "@12","notype_initdcl","@13","maybe_attribute","attributes","attribute","attribute_list",
- "attrib","any_word","init","@14","initlist_maybe_comma","initlist1","initelt",
- "@15","@16","@17","nested_function","@18","@19","notype_nested_function","@20",
- "@21","declarator","after_type_declarator","parm_declarator","notype_declarator",
- "structsp","@22","@23","@24","@25","maybecomma","maybecomma_warn","component_decl_list",
- "component_decl_list2","component_decl","components","component_declarator",
- "enumlist","enumerator","typename","absdcl","nonempty_type_quals","type_quals",
- "absdcl1","stmts","xstmts","errstmt","pushlevel","maybe_label_decls","label_decls",
- "label_decl","compstmt_or_error","compstmt","simple_if","if_prefix","do_stmt_start",
- "@26","save_filename","save_lineno","lineno_labeled_stmt","lineno_stmt_or_label",
- "stmt_or_label","stmt","@27","@28","@29","@30","@31","@32","@33","all_iter_stmt",
- "all_iter_stmt_simple","@34","label","maybe_type_qual","xexpr","asm_operands",
- "nonnull_asm_operands","asm_operand","asm_clobbers","parmlist","@35","parmlist_1",
- "@36","parmlist_2","parms","parm","parmlist_or_identifiers","@37","parmlist_or_identifiers_1",
- "identifiers","identifiers_or_typenames","objcdef","identifier_list","classdecl",
- "aliasdecl","classdef","@38","@39","@40","@41","@42","@43","@44","@45","@46",
- "protocoldef","@47","protocolrefs","ivar_decl_list","visibility_spec","ivar_decls",
- "ivar_decl","ivars","ivar_declarator","methoddef","@48","@49","@50","@51","@52",
- "@53","methodprotolist","@54","methodprotolist2","@55","semi_or_error","methodproto",
- "@56","@57","@58","@59","methoddecl","optarglist","myxdecls","mydecls","mydecl",
- "myparms","myparm","optparmlist","@60","unaryselector","keywordselector","selector",
- "reservedwords","keyworddecl","messageargs","keywordarglist","keywordexpr","keywordarg",
- "receiver","objcmessageexpr","@61","@62","selectorarg","keywordnamelist","keywordname",
- "objcselectorexpr","objcprotocolexpr","objcencodeexpr",""
- };
- #endif
-
- static const short yyr1[] = { 0,
- 84, 84, 86, 85, 87, 85, 88, 88, 88, 88,
- 89, 89, 89, 89, 89, 89, 89, 89, 91, 92,
- 90, 90, 93, 94, 90, 90, 95, 96, 90, 90,
- 97, 97, 97, 97, 98, 98, 98, 98, 98, 98,
- 98, 99, 100, 100, 101, 101, 102, 102, 103, 102,
- 102, 102, 102, 102, 102, 102, 102, 102, 104, 104,
- 105, 104, 106, 106, 106, 106, 106, 106, 106, 106,
- 106, 106, 106, 106, 106, 106, 106, 106, 106, 106,
- 107, 107, 107, 107, 107, 108, 107, 107, 107, 107,
- 107, 107, 107, 107, 107, 107, 107, 107, 109, 109,
- 110, 110, 111, 111, 111, 112, 113, 113, 113, 113,
- 114, 114, 114, 114, 115, 116, 116, 116, 116, 117,
- 118, 119, 119, 119, 119, 119, 119, 120, 120, 121,
- 121, 121, 122, 122, 122, 122, 123, 123, 124, 124,
- 125, 125, 125, 125, 125, 125, 125, 126, 126, 126,
- 127, 127, 128, 128, 129, 129, 131, 130, 130, 133,
- 132, 132, 134, 134, 135, 135, 136, 137, 137, 138,
- 138, 138, 138, 138, 139, 139, 139, 139, 140, 141,
- 140, 140, 142, 142, 143, 143, 144, 145, 144, 144,
- 146, 144, 147, 144, 149, 150, 148, 152, 153, 151,
- 154, 154, 155, 155, 155, 155, 155, 155, 155, 155,
- 156, 156, 156, 156, 156, 156, 157, 157, 157, 157,
- 157, 157, 157, 159, 158, 158, 158, 160, 158, 158,
- 158, 161, 158, 162, 158, 158, 163, 163, 164, 164,
- 165, 165, 166, 166, 166, 166, 167, 167, 167, 167,
- 167, 168, 168, 169, 169, 169, 170, 170, 170, 171,
- 171, 172, 172, 173, 173, 174, 174, 175, 175, 176,
- 176, 176, 176, 176, 176, 176, 176, 176, 176, 177,
- 177, 177, 178, 178, 179, 180, 181, 181, 182, 182,
- 183, 184, 184, 185, 185, 185, 185, 186, 186, 187,
- 189, 188, 190, 191, 192, 192, 193, 194, 194, 195,
- 195, 195, 196, 195, 195, 195, 197, 198, 195, 195,
- 195, 199, 200, 201, 195, 202, 195, 195, 195, 195,
- 195, 195, 195, 195, 195, 195, 195, 195, 203, 205,
- 204, 206, 206, 206, 206, 207, 207, 208, 208, 209,
- 209, 210, 210, 211, 212, 212, 214, 213, 215, 216,
- 215, 215, 217, 217, 217, 217, 218, 218, 219, 219,
- 219, 219, 219, 221, 220, 222, 222, 223, 223, 224,
- 224, 225, 225, 225, 225, 225, 225, 226, 226, 227,
- 228, 230, 231, 229, 232, 229, 233, 234, 229, 235,
- 229, 236, 229, 229, 237, 229, 229, 238, 229, 229,
- 240, 239, 241, 241, 242, 242, 243, 243, 243, 244,
- 244, 244, 245, 245, 245, 246, 246, 246, 247, 247,
- 247, 249, 250, 251, 248, 252, 253, 254, 248, 255,
- 256, 255, 257, 257, 257, 258, 257, 259, 259, 261,
- 262, 260, 263, 264, 260, 265, 265, 265, 265, 266,
- 266, 267, 267, 268, 268, 268, 268, 269, 269, 269,
- 270, 270, 271, 271, 271, 272, 272, 273, 272, 274,
- 275, 275, 276, 276, 276, 276, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 277, 277, 277, 277, 277, 277, 277, 278, 278, 278,
- 278, 279, 279, 280, 280, 281, 282, 282, 283, 283,
- 285, 286, 284, 287, 287, 288, 288, 289, 289, 290,
- 291, 292
- };
-
- static const short yyr2[] = { 0,
- 0, 1, 0, 2, 0, 3, 1, 1, 1, 5,
- 3, 4, 4, 2, 2, 2, 2, 1, 0, 0,
- 7, 4, 0, 0, 7, 4, 0, 0, 6, 3,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 0, 1, 1, 3, 1, 2, 0, 3,
- 2, 2, 2, 4, 2, 4, 2, 2, 1, 4,
- 0, 7, 1, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 5, 3, 3,
- 1, 1, 1, 3, 3, 0, 4, 4, 4, 3,
- 3, 2, 2, 1, 1, 1, 1, 1, 1, 2,
- 1, 2, 0, 1, 2, 3, 1, 1, 2, 2,
- 4, 4, 2, 2, 3, 1, 1, 2, 2, 0,
- 0, 4, 4, 3, 3, 2, 2, 2, 3, 0,
- 2, 2, 1, 1, 2, 2, 2, 3, 0, 2,
- 1, 1, 1, 2, 2, 4, 4, 1, 1, 1,
- 1, 3, 1, 3, 0, 4, 0, 6, 3, 0,
- 6, 3, 0, 1, 1, 2, 6, 1, 3, 0,
- 1, 4, 6, 4, 1, 1, 1, 1, 1, 0,
- 4, 1, 0, 2, 1, 3, 1, 0, 4, 1,
- 0, 4, 0, 5, 0, 0, 5, 0, 0, 5,
- 1, 1, 3, 3, 4, 3, 3, 3, 1, 1,
- 3, 4, 3, 3, 3, 1, 3, 3, 3, 4,
- 3, 3, 1, 0, 7, 5, 2, 0, 7, 5,
- 2, 0, 8, 0, 7, 2, 0, 1, 0, 1,
- 1, 2, 0, 3, 2, 4, 3, 1, 3, 1,
- 1, 1, 3, 4, 6, 5, 1, 3, 1, 1,
- 3, 2, 2, 0, 1, 1, 2, 0, 2, 3,
- 3, 2, 3, 4, 3, 2, 3, 2, 3, 1,
- 2, 2, 0, 1, 2, 0, 0, 1, 1, 2,
- 3, 1, 2, 2, 6, 5, 5, 2, 2, 4,
- 0, 4, 0, 0, 3, 4, 3, 1, 1, 1,
- 1, 2, 0, 4, 1, 3, 0, 0, 7, 5,
- 2, 0, 0, 0, 12, 0, 6, 2, 2, 2,
- 3, 6, 8, 10, 12, 3, 4, 1, 1, 0,
- 6, 3, 5, 2, 2, 0, 1, 0, 1, 0,
- 1, 1, 3, 4, 1, 3, 0, 2, 2, 0,
- 4, 2, 0, 1, 1, 3, 1, 3, 4, 4,
- 4, 4, 4, 0, 2, 1, 2, 1, 3, 1,
- 3, 1, 1, 1, 1, 1, 1, 1, 3, 3,
- 4, 0, 0, 10, 0, 6, 0, 0, 12, 0,
- 8, 0, 6, 2, 0, 8, 4, 0, 9, 5,
- 0, 6, 0, 3, 3, 1, 1, 1, 1, 0,
- 3, 2, 3, 3, 1, 0, 1, 3, 1, 3,
- 2, 0, 0, 0, 7, 0, 0, 0, 7, 0,
- 0, 2, 1, 1, 2, 0, 3, 1, 1, 0,
- 0, 5, 0, 0, 5, 4, 1, 5, 2, 0,
- 2, 0, 1, 1, 1, 2, 2, 4, 2, 2,
- 1, 3, 2, 2, 2, 0, 2, 0, 3, 1,
- 1, 2, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 6, 3, 5,
- 2, 1, 1, 1, 2, 1, 3, 2, 1, 1,
- 0, 0, 6, 1, 1, 1, 2, 2, 1, 4,
- 4, 4
- };
-
- static const short yydefact[] = { 3,
- 5, 0, 0, 0, 143, 134, 141, 133, 0, 0,
- 0, 0, 0, 432, 436, 0, 0, 387, 413, 0,
- 413, 0, 0, 18, 4, 8, 7, 0, 120, 120,
- 130, 142, 9, 383, 384, 382, 385, 386, 6, 16,
- 17, 31, 32, 34, 33, 234, 236, 243, 227, 243,
- 231, 0, 0, 0, 0, 413, 404, 0, 144, 413,
- 145, 388, 0, 0, 223, 0, 268, 0, 0, 153,
- 121, 165, 0, 15, 0, 136, 135, 14, 0, 130,
- 128, 0, 232, 0, 0, 0, 224, 0, 228, 81,
- 82, 99, 0, 0, 49, 0, 0, 0, 35, 37,
- 36, 0, 38, 39, 0, 521, 0, 0, 0, 101,
- 40, 41, 0, 0, 42, 59, 63, 45, 47, 83,
- 98, 94, 95, 96, 97, 266, 0, 264, 139, 0,
- 264, 483, 484, 506, 507, 503, 487, 488, 489, 490,
- 491, 492, 493, 494, 495, 496, 497, 498, 499, 500,
- 501, 502, 504, 505, 0, 0, 485, 433, 457, 476,
- 480, 486, 481, 437, 0, 0, 395, 0, 0, 402,
- 0, 411, 390, 0, 0, 0, 0, 0, 11, 0,
- 0, 166, 30, 0, 374, 0, 0, 163, 209, 268,
- 0, 210, 0, 151, 121, 0, 201, 202, 0, 0,
- 129, 132, 148, 149, 131, 150, 259, 260, 239, 257,
- 0, 0, 163, 251, 245, 120, 242, 120, 243, 163,
- 243, 0, 53, 0, 55, 0, 57, 58, 52, 48,
- 0, 0, 0, 0, 0, 0, 0, 0, 51, 0,
- 0, 0, 0, 348, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 92, 93,
- 0, 0, 43, 0, 100, 102, 146, 268, 357, 0,
- 121, 262, 265, 137, 147, 267, 139, 263, 0, 511,
- 0, 460, 478, 459, 0, 482, 0, 460, 413, 0,
- 392, 441, 407, 0, 420, 414, 441, 389, 391, 170,
- 269, 219, 218, 154, 155, 222, 0, 217, 0, 221,
- 0, 0, 28, 0, 303, 108, 304, 162, 164, 0,
- 0, 13, 0, 0, 22, 0, 163, 374, 0, 12,
- 26, 0, 0, 240, 0, 239, 0, 226, 303, 244,
- 303, 0, 230, 0, 0, 0, 50, 85, 84, 286,
- 0, 0, 520, 519, 522, 529, 524, 0, 525, 526,
- 0, 0, 10, 46, 80, 79, 349, 0, 77, 76,
- 74, 75, 73, 72, 71, 69, 70, 64, 65, 66,
- 67, 68, 91, 90, 0, 44, 0, 272, 0, 276,
- 0, 278, 0, 0, 357, 0, 140, 138, 0, 0,
- 0, 434, 477, 363, 0, 509, 438, 400, 413, 420,
- 0, 0, 405, 410, 0, 0, 0, 176, 177, 178,
- 175, 0, 168, 171, 0, 0, 378, 364, 120, 120,
- 376, 0, 365, 367, 375, 0, 220, 285, 0, 110,
- 105, 109, 0, 160, 207, 203, 152, 208, 20, 159,
- 204, 206, 0, 24, 261, 258, 163, 0, 246, 247,
- 252, 304, 249, 163, 163, 54, 56, 294, 287, 87,
- 61, 60, 0, 528, 530, 0, 527, 532, 531, 0,
- 88, 89, 271, 270, 358, 277, 279, 273, 275, 0,
- 0, 456, 476, 120, 0, 465, 461, 463, 0, 0,
- 479, 365, 0, 0, 397, 441, 408, 0, 396, 450,
- 453, 444, 0, 120, 120, 446, 443, 420, 419, 417,
- 418, 403, 420, 425, 422, 120, 120, 0, 412, 0,
- 170, 43, 156, 362, 264, 264, 359, 360, 0, 377,
- 0, 0, 29, 292, 106, 120, 120, 0, 0, 157,
- 205, 0, 235, 163, 303, 0, 225, 229, 0, 0,
- 288, 289, 0, 0, 512, 0, 513, 514, 78, 274,
- 510, 458, 469, 264, 470, 466, 467, 435, 0, 439,
- 420, 0, 441, 393, 0, 0, 155, 0, 0, 0,
- 445, 0, 0, 426, 426, 421, 167, 169, 81, 0,
- 216, 268, 357, 121, 163, 163, 163, 268, 121, 163,
- 163, 0, 366, 368, 379, 293, 113, 0, 114, 0,
- 182, 180, 179, 161, 21, 0, 25, 233, 253, 0,
- 163, 380, 0, 0, 0, 303, 0, 117, 304, 280,
- 290, 190, 81, 0, 188, 0, 187, 0, 237, 185,
- 516, 518, 0, 523, 0, 515, 163, 163, 163, 0,
- 471, 508, 0, 401, 0, 441, 451, 454, 447, 406,
- 0, 429, 423, 427, 424, 172, 0, 174, 272, 0,
- 374, 0, 369, 370, 371, 272, 0, 372, 373, 361,
- 0, 0, 0, 158, 163, 0, 254, 291, 0, 296,
- 119, 118, 0, 0, 297, 282, 304, 281, 0, 0,
- 0, 191, 62, 0, 184, 517, 473, 474, 475, 468,
- 264, 398, 409, 0, 0, 0, 431, 0, 0, 0,
- 214, 215, 211, 213, 0, 111, 112, 0, 256, 163,
- 381, 295, 0, 143, 0, 317, 301, 0, 0, 0,
- 0, 0, 0, 0, 0, 346, 413, 413, 338, 0,
- 0, 115, 120, 120, 310, 315, 0, 0, 307, 308,
- 311, 339, 309, 193, 0, 0, 186, 472, 441, 394,
- 449, 448, 452, 455, 430, 428, 173, 212, 181, 255,
- 0, 0, 303, 348, 0, 0, 344, 328, 329, 330,
- 0, 0, 0, 347, 0, 345, 312, 126, 0, 127,
- 0, 0, 299, 304, 298, 321, 0, 0, 189, 192,
- 0, 0, 0, 0, 47, 0, 0, 0, 342, 331,
- 0, 336, 0, 0, 124, 195, 0, 125, 198, 316,
- 303, 0, 0, 194, 399, 300, 0, 302, 340, 322,
- 326, 0, 337, 0, 122, 0, 123, 0, 314, 305,
- 303, 0, 318, 303, 348, 303, 343, 350, 0, 196,
- 199, 306, 320, 303, 341, 0, 327, 0, 0, 351,
- 352, 332, 0, 0, 319, 323, 0, 350, 0, 0,
- 197, 200, 348, 0, 0, 333, 353, 0, 354, 0,
- 0, 324, 355, 0, 334, 303, 0, 0, 325, 335,
- 356, 0, 0, 0
- };
-
- static const short yydefgoto[] = { 912,
- 1, 2, 3, 25, 26, 27, 326, 549, 332, 552,
- 187, 439, 646, 113, 367, 385, 115, 116, 226, 117,
- 563, 118, 119, 233, 120, 121, 313, 314, 315, 545,
- 635, 636, 28, 181, 762, 429, 81, 430, 128, 274,
- 31, 205, 193, 69, 188, 194, 626, 70, 548, 318,
- 319, 72, 422, 423, 424, 624, 693, 648, 649, 650,
- 711, 776, 818, 835, 856, 883, 838, 858, 884, 305,
- 197, 657, 198, 32, 219, 221, 211, 82, 715, 335,
- 85, 86, 217, 460, 461, 209, 210, 130, 659, 131,
- 177, 273, 637, 704, 316, 469, 560, 561, 562, 543,
- 544, 766, 767, 768, 793, 814, 443, 815, 640, 769,
- 770, 841, 792, 874, 865, 893, 906, 866, 771, 772,
- 864, 773, 805, 368, 879, 880, 881, 904, 390, 391,
- 431, 612, 432, 433, 434, 308, 309, 435, 436, 633,
- 33, 63, 34, 35, 36, 410, 666, 292, 581, 779,
- 506, 295, 518, 583, 37, 297, 59, 415, 523, 416,
- 528, 673, 674, 38, 54, 282, 500, 55, 288, 504,
- 411, 412, 516, 590, 783, 517, 585, 725, 586, 726,
- 158, 402, 497, 498, 499, 660, 661, 284, 404, 159,
- 160, 161, 162, 163, 566, 567, 652, 568, 355, 122,
- 235, 473, 358, 359, 360, 123, 124, 125
- };
-
- static const short yypact[] = { 96,
- 105, 2806, 2806, 237,-32768,-32768,-32768,-32768, 191, 231,
- 240, 27, 54,-32768,-32768, 107, 107,-32768, 90, 107,
- 90, 107, 107,-32768,-32768,-32768,-32768, 242, 70, 2978,
- -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -32768,-32768,-32768,-32768,-32768,-32768, 85, 126, 111, 126,
- 133, 2541, 2379, 3114, 3114, 59, 44, 107,-32768, 90,
- -32768,-32768, 104, 107,-32768, 162,-32768, 242, 123,-32768,
- 194,-32768, 1657,-32768, 379,-32768,-32768,-32768, 242,-32768,
- 835, 86,-32768, 171, 160, 404,-32768, 202,-32768,-32768,
- -32768,-32768, 2595, 2649,-32768, 2541, 2541, 107,-32768,-32768,
- -32768, 2541,-32768,-32768, 1333,-32768, 208, 238, 246,-32768,
- -32768,-32768, 2541, 248, 251,-32768,-32768, 3422, 517, 336,
- 273,-32768,-32768,-32768,-32768,-32768, 299, 189,-32768, 302,
- 3233,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -32768,-32768,-32768,-32768, 576, 3295,-32768,-32768,-32768, 2351,
- 360,-32768,-32768,-32768, 107, 107, 318, 107, 107,-32768,
- 39,-32768,-32768, 107, 304, 375, 234, 41,-32768, 379,
- 242,-32768,-32768, 393,-32768, 1820, 707, 194,-32768,-32768,
- 379,-32768, 125,-32768, 194, 1755, 353, 407, 310, 1736,
- 835,-32768,-32768,-32768,-32768,-32768,-32768, 395, 365,-32768,
- 86, 413, 194,-32768,-32768, 397, 415, 2950, 126, 194,
- 126, 1333,-32768, 1333,-32768, 2541,-32768,-32768,-32768,-32768,
- 427, 432, 438, 457, 2433, 3142, 3295, 107,-32768, 437,
- 2541, 2541, 2541, 2541, 2541, 2541, 2541, 2541, 2541, 2541,
- 2541, 2541, 2541, 2541, 2541, 2541, 2541, 2541,-32768,-32768,
- 107, 107, 2541, 2541,-32768,-32768,-32768,-32768, 189, 1879,
- 194,-32768, 481, 716,-32768,-32768,-32768,-32768, 3295,-32768,
- 459, 460, 535,-32768, 360,-32768, 614, 460, 90, 475,
- -32768, 495, 480, 502,-32768,-32768, 495,-32768,-32768, 605,
- -32768, 407,-32768,-32768, 554, 407, 577,-32768, 2825,-32768,
- 504, 511,-32768, 627, 60,-32768,-32768, 553, 194, 279,
- 49,-32768, 379, 379,-32768, 707, 194,-32768, 1938,-32768,
- -32768, 707, 2541, 107, 514, 365, 518,-32768,-32768,-32768,
- -32768, 525,-32768, 526, 520, 530,-32768,-32768,-32768, 529,
- 544, 2271,-32768,-32768,-32768,-32768, 583, 546, 3142,-32768,
- 547, 549,-32768, 3422, 3422, 3422,-32768, 588, 752, 1307,
- 1463, 1542, 2350, 2750, 766, 920, 920, 239, 239,-32768,
- -32768,-32768,-32768,-32768, 560, 251, 559, 72, 343,-32768,
- 2937,-32768, 562, 189,-32768, 1997,-32768, 716, 571, 3178,
- 756,-32768,-32768, 3252, 3295,-32768,-32768, 567, 90,-32768,
- 566, 2881,-32768,-32768, 271, 818, 587,-32768,-32768,-32768,
- -32768, 166,-32768, 592, 65, 582,-32768,-32768,-32768, 3282,
- -32768, 585, 347,-32768,-32768, 178,-32768,-32768, 55,-32768,
- -32768,-32768, 3308,-32768, 353,-32768,-32768, 353,-32768, 616,
- -32768,-32768, 579,-32768, 3422,-32768, 194, 586,-32768, 584,
- -32768,-32768, 584, 194, 194,-32768,-32768,-32768, 638,-32768,
- -32768,-32768, 3206,-32768,-32768, 583,-32768,-32768,-32768, 2541,
- -32768,-32768, 481,-32768,-32768,-32768, 481,-32768,-32768, 591,
- 107,-32768, 2351, 602, 3019,-32768,-32768, 3308, 1774, 55,
- -32768, 590, 604, 55,-32768, 495,-32768, 387,-32768,-32768,
- -32768,-32768, 242, 70, 2978, 287,-32768,-32768,-32768,-32768,
- -32768,-32768,-32768,-32768,-32768,-32768, 3325, 615,-32768, 619,
- 605, 2703,-32768,-32768, 728, 210,-32768,-32768, 3263,-32768,
- 693, 438,-32768,-32768,-32768, 620, 3030, 1648, 55,-32768,
- -32768, 55,-32768, 194,-32768, 249,-32768,-32768, 107, 933,
- 638,-32768, 1413, 2541, 660, 617, 3206,-32768, 1386,-32768,
- -32768,-32768,-32768, 728,-32768,-32768,-32768,-32768, 107,-32768,
- -32768, 641, 495,-32768, 3114, 3114, 137, 379, 242, 2909,
- -32768, 409, 2780, 496, 496,-32768,-32768,-32768, 195, 629,
- -32768,-32768, 210, 194, 236, 295, 194,-32768, 194, 295,
- 194, 2937,-32768,-32768,-32768,-32768,-32768, 379,-32768, 242,
- -32768,-32768, 3422,-32768,-32768, 1648,-32768,-32768,-32768, 2541,
- 69,-32768, 363, 472, 849, 632, 1013,-32768,-32768,-32768,
- -32768,-32768, 669, 107,-32768, 677, 3422, 646, 645,-32768,
- 251,-32768, 2541,-32768, 660,-32768, 236, 295, 194, 372,
- -32768,-32768, 420,-32768, 664, 495,-32768,-32768,-32768,-32768,
- 2541, 695, 659,-32768, 659,-32768, 2541,-32768, 594, 728,
- -32768, 2056,-32768,-32768,-32768, 995, 210,-32768,-32768,-32768,
- 392, 414, 1413,-32768, 3386, 2541,-32768,-32768, 107,-32768,
- -32768,-32768, 1093, 668,-32768,-32768,-32768,-32768, 2137, 706,
- 1413,-32768,-32768, 1493,-32768,-32768,-32768,-32768,-32768,-32768,
- 728,-32768,-32768, 684, 68, 68, 3422, 2541, 496, 266,
- 505, 505,-32768,-32768, 665,-32768,-32768, 674,-32768, 3386,
- -32768,-32768, 2217, 715, 700,-32768,-32768, 705, 708, 2541,
- 734, 689, 698, 2487, 327, 747, 83, 98,-32768, 738,
- 703,-32768, 729, 3047,-32768, 761, 1173, 71,-32768,-32768,
- -32768,-32768,-32768,-32768, 704, 1573,-32768,-32768, 495,-32768,
- -32768,-32768,-32768,-32768, 3422,-32768,-32768,-32768,-32768,-32768,
- 2541, 724,-32768, 2541, 2541, 3363,-32768,-32768,-32768,-32768,
- 732, 2541, 733,-32768, 726,-32768,-32768,-32768, 379,-32768,
- 242, 1253,-32768,-32768,-32768,-32768, 2541, 1573,-32768,-32768,
- 757, 745, 2541, 810, 630, 760, 758, 2541,-32768,-32768,
- 762,-32768, 2541, 424,-32768, 316, 436,-32768, 1022,-32768,
- -32768, 2217, 768,-32768,-32768,-32768, 769,-32768,-32768,-32768,
- -32768, 3404,-32768, 43,-32768, 707,-32768, 707,-32768,-32768,
- -32768, 774,-32768,-32768, 2541,-32768,-32768, 824, 782,-32768,
- -32768,-32768,-32768,-32768,-32768, 802,-32768, 822, 47, 803,
- -32768,-32768, 438, 438,-32768,-32768, 2541, 824, 816, 824,
- -32768,-32768, 2541, 825, 53,-32768,-32768, 826,-32768, 577,
- 817,-32768, 336, 325,-32768,-32768, 823, 577,-32768,-32768,
- 336, 905, 906,-32768
- };
-
- static const short yypgoto[] = {-32768,
- -32768,-32768,-32768, 904, -374,-32768,-32768,-32768,-32768,-32768,
- -32768,-32768, -6,-32768, -52, 378, -230, 473,-32768, -19,
- -32768, 115, 117,-32768, -295,-32768, -297, 597,-32768,-32768,
- 278,-32768, -8, -159,-32768, 25, 837, 29, -63, 642,
- 9, -214, -584, -60, -190, -125,-32768,-32768,-32768, -147,
- -4, -62,-32768, 391,-32768, 292,-32768, -595,-32768, -670,
- -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -73,
- -142, -490, -20, -13,-32768,-32768,-32768,-32768,-32768, 589,
- 1,-32768,-32768, 608, 368, 719, 598, -68, -74, -36,
- -175, -244, 329,-32768, -249,-32768,-32768,-32768, 374, -226,
- -215,-32768,-32768,-32768,-32768, -140, -422, -638, -557,-32768,
- 121,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -32768, 132,-32768, -727, 87,-32768, 88,-32768, 595,-32768,
- -361,-32768, 573, 575, 441, -302,-32768,-32768,-32768,-32768,
- -32768, 926,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -32768,-32768,-32768,-32768,-32768,-32768, -14, -367,-32768, 462,
- -32768, 394, 257,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -277,-32768,-32768,-32768, 265, 478,-32768,-32768,-32768,-32768,
- -42, 713,-32768,-32768, 497,-32768, 275, 510,-32768, 606,
- 607, -97,-32768, -119,-32768,-32768, 356, 444,-32768,-32768,
- -32768,-32768,-32768,-32768, 661,-32768,-32768,-32768
- };
-
-
- #define YYLAST 3474
-
-
- static const short yytable[] = { 114,
- 127, 196, 47, 49, 51, 327, 61, 73, 182, 56,
- 57, 425, 164, 60, 320, 62, 64, 351, 199, 417,
- 75, 79, 216, 71, 389, 451, 29, 29, 449, 485,
- 30, 30, 386, 691, 454, 324, 234, 512, 80, 556,
- 286, 167, 508, 777, 605, 172, 317, 178, 321, 218,
- 88, 62, 232, 272, 304, 542, 278, 175, 200, 397,
- -104, 129, 285, 71, 440, 338, 826, 206, 781, 441,
- 195, 816, 343, 265, 71, 208, 227, 228, 301, 708,
- 868, 168, 230, 296, 888, 52, 207, 281, 42, 43,
- 900, 229, 388, 239, 129, -1, 165, 738, 66, 185,
- 186, 66, 169, 58, -2, 820, 696, 328, 329, 42,
- 43, 394, 53, 129, 327, 775, 303, 166, 869, 174,
- -34, 268, 889, 271, 446, 170, 271, 58, 901, 817,
- 269, 270, 182, 311, 58, -33, 350, 876, 357, 277,
- 533, -104, 58, 483, 782, 708, 74, 844, 280, 487,
- 592, 496, 44, 345, 824, 346, 302, 45, 289, 290,
- 306, 293, 294, 184, 129, 898, 83, 298, 361, 232,
- 178, 232, 71, 44, 317, 195, 71, 445, 45, 450,
- 173, 448, 354, 397, 174, 317, 195, 206, 731, 732,
- 84, 317, 87, 42, 43, 185, 186, 447, 462, 179,
- 462, 322, 859, 180, 208, 323, 347, 339, 182, 341,
- 399, 387, 65, 663, 89, 669, 709, 393, 66, 342,
- 176, 344, 872, 66, 834, 875, 277, 877, 582, 212,
- 129, 362, 129, 42, 43, 885, 65, 213, 268, 66,
- 301, 530, 42, 43, 65, 129, 531, 269, 270, 577,
- 690, 65, 189, 540, 383, 384, 182, 44, 541, 608,
- 206, 476, 45, 66, 271, 66, 236, 909, 603, 270,
- 676, 66, 46, 578, 408, 677, 453, 580, 66, 220,
- 406, 65, 189, 67, 743, 301, 630, 129, 256, 257,
- 258, 67, 68, 421, 681, 682, 237, 44, 190, 302,
- 68, 386, 45, 306, 238, 665, 44, 191, 66, 553,
- 638, 45, 48, 40, 41, 195, 557, 558, 195, 195,
- 192, 50, 625, 240, 66, 627, 616, 208, 190, 42,
- 43, 241, 472, 651, 510, 511, 503, 191, 519, 520,
- 521, 787, 184, 490, 265, -155, 241, 266, 522, -442,
- 192, -155, 526, 185, 186, 364, 365, 366, 389, 369,
- 370, 371, 372, 373, 374, 375, 376, 377, 378, 379,
- 380, 381, 382, 286, 267, 565, 802, 275, 733, 527,
- 299, 65, 189, 271, 206, 701, 330, 706, 724, 271,
- 180, 842, -155, 44, 507, 285, -155, 287, 45, 291,
- 907, 395, 396, 513, 214, 908, 628, 5, 66, 7,
- 126, 328, 329, 129, 462, 9, 10, 11, 484, 639,
- 535, 536, 651, 538, 129, 494, 679, 539, 190, 495,
- 333, 13, 686, 300, 483, 487, 514, 191, 80, 698,
- 515, 483, 487, 699, 680, 334, 730, 455, 720, 687,
- 192, 307, 721, 706, 519, 520, 521, 683, 684, 685,
- 607, 611, 688, 689, 584, 185, 186, 546, 736, 655,
- 19, 547, 323, -248, -248, 21, 519, 520, 521, 337,
- 215, -241, 631, 697, 571, 574, 670, 519, 520, 521,
- 737, 340, 587, 765, 180, 639, 707, 722, 65, 189,
- 855, 821, 348, 80, 323, 588, 589, 349, 71, 717,
- 718, 719, 857, 363, 606, 610, 180, 594, 595, 350,
- 672, 672, 494, 80, 421, 66, 495, 765, 199, 526,
- 604, 609, 352, 671, 400, 277, 401, 618, 620, 395,
- 396, 182, 667, 668, 403, 190, 182, 739, 438, 700,
- 409, 195, 632, 658, 191, 80, 527, -440, 870, 692,
- 871, 413, 707, 681, 682, 223, 225, 192, 587, 604,
- 259, 260, 662, 261, 262, 263, 264, 414, 42, 43,
- 184, 513, 178, 195, 71, 92, 437, 438, 444, 195,
- 195, 457, 790, 459, 569, 466, 65, 601, 609, 587,
- 301, 129, 464, 465, 903, 467, 468, 42, 43, 418,
- 419, 420, 911, 195, 514, 71, 42, 43, 515, 470,
- 474, 475, 478, 66, 479, 480, 765, 312, 509, 735,
- -107, -107, -107, -107, 279, 481, -107, 710, -107, -107,
- -107, 482, 44, 602, 486, 327, 491, 45, 505, 529,
- 532, 550, 603, 270, -107, 672, 761, 534, 302, 306,
- 537, 551, 623, 554, 555, 302, 306, 891, 892, 559,
- 539, 44, 405, 570, 604, 604, 45, 647, 573, 579,
- 44, 609, 609, 259, 260, 45, 261, 262, 263, 264,
- 761, 596, 741, -107, 597, 615, 617, 653, -107, 654,
- 658, 801, 760, 664, 678, 849, -31, 312, -107, -283,
- -303, -303, -303, -303, 712, 317, 604, 317, -303, -303,
- -303, 203, 204, 713, 195, 714, 723, 9, 10, 11,
- 65, 601, 728, 763, -303, 836, 760, 764, 822, 729,
- 623, 774, 827, 61, 695, 742, 780, 788, 803, 831,
- 837, 789, -32, 804, 809, 811, 312, 66, 791, 5,
- 6, 7, 8, 794, 843, 798, 795, 9, 10, 11,
- 847, 797, 80, -303, 799, 806, 812, 602, -303, 807,
- 854, 819, 823, 13, 833, 727, 603, 270, -103, 761,
- 839, 246, 247, 248, 249, 250, 251, 252, 253, 254,
- 255, 256, 257, 258, 195, 808, 71, 647, 830, 832,
- 740, 252, 253, 254, 255, 256, 257, 258, 524, 845,
- 846, 5, 19, 7, 126, 647, 848, 21, 647, 9,
- 10, 11, 878, 851, 894, 760, 850, -462, 853, 202,
- 203, 204, 785, 862, 863, 13, 9, 10, 11, 312,
- 873, -116, -116, -116, -116, -116, -116, -116, 882, -116,
- -116, -116, -116, -116, 796, -116, -116, -116, -116, -116,
- -116, -116, -116, -116, -116, -116, -116, -116, 886, -116,
- 887, -116, -116, 890, 19, -416, -416, -416, -116, 21,
- 647, -116, 896, 905, 525, -416, -116, -116, -116, 910,
- 899, 902, -116, -116, 913, 914, 39, -116, -116, 600,
- 825, 442, -116, 702, -116, -116, 201, 694, 398, -116,
- -116, 598, 629, -116, 458, -116, -116, -116, -116, 336,
- -116, 456, 647, 634, 641, -303, -303, -303, -303, -303,
- -303, -303, 852, -303, -303, -303, -303, -303, 463, -303,
- -303, -303, -303, -303, -303, -303, -303, -303, -303, -303,
- -303, -303, 860, -303, 703, -303, -303, 254, 255, 256,
- 257, 258, -303, 861, 895, -303, 501, 897, 502, 614,
- -303, -303, -303, 171, 593, 786, -303, -303, 675, 488,
- 784, -303, -303, 591, 576, 778, -303, 65, -303, -303,
- 407, 301, 572, -303, -303, 492, 493, -303, 716, -303,
- 656, -303, -303, 312, -303, -303, -303, 0, 0, 477,
- -303, -303, 0, -303, 66, 0, 0, -303, 0, -303,
- -303, -303, -303, -303, -303, -303, -303, -303, -303, -303,
- 0, -303, 0, -303, 608, -303, -303, 0, 184, 0,
- 0, -155, -303, 603, 270, -303, 0, -155, 0, 0,
- -303, -303, -303, 0, 0, 0, -303, -303, 0, 0,
- 0, -303, -303, 0, 0, 0, -303, 0, -303, -303,
- 185, 186, 0, -303, -303, 0, 0, -303, 0, -303,
- 705, -303, -303, 312, -303, -303, -303, 0, -155, 0,
- -303, -303, -155, -303, 0, 0, 0, -303, 0, -303,
- -303, -303, -303, -303, -303, -303, -303, -303, -303, -303,
- 0, -303, 0, -303, 0, -303, -303, 0, 0, 0,
- 0, 0, -303, 0, 0, -303, 0, 0, 0, 0,
- -303, -303, -303, 0, 0, 0, -303, -303, 0, 0,
- 0, -303, -303, 0, 0, 0, -303, 0, -303, -303,
- 0, 0, 0, -303, -303, 0, 0, -303, 0, -303,
- -284, -303, -303, 813, -303, -303, -303, 0, 0, 0,
- -303, -303, 0, -303, 0, 0, 0, -303, 0, -303,
- -303, -303, -303, -303, -303, -303, -303, -303, -303, -303,
- 0, -303, 0, -303, 0, -303, -303, 0, 0, 0,
- 0, 0, -303, 0, 0, -303, 0, 0, 0, 0,
- -303, -303, -303, 0, 0, 0, -303, -303, 0, 0,
- 0, -303, -303, 0, 0, 0, -303, 0, -303, -303,
- 0, 0, 0, -303, -303, 0, 0, -303, 0, -303,
- 0, -303, -303, 840, -303, -313, -313, 0, 0, 0,
- -313, -313, 0, -313, 0, 0, 0, -313, 0, -313,
- -313, -313, -313, -313, -313, -313, -313, -313, -313, -313,
- 0, -313, 0, -313, 0, -313, -313, 0, 0, 0,
- 0, 0, -313, 0, 0, -313, 0, 0, 0, 0,
- -313, -313, -313, 0, 0, 0, -313, -313, 0, 0,
- 0, -313, -313, 0, 0, 0, -313, 0, -313, -313,
- 0, 0, 0, -313, -313, 0, 0, -313, 0, -313,
- 0, -313, -313, 231, -313, 90, 5, 0, 7, 126,
- 91, 92, 0, 93, 9, 10, 11, 247, 248, 249,
- 250, 251, 252, 253, 254, 255, 256, 257, 258, 0,
- 13, 94, 0, 95, 0, 96, 97, 0, 0, 0,
- 0, 0, 98, 0, 0, 99, 0, 0, 0, 0,
- 100, 101, 102, 0, 0, 0, 103, 104, 0, 0,
- 0, 105, 106, 0, 0, 0, 107, 0, 108, 19,
- 0, 0, 0, 109, 21, 0, 0, 110, 0, 0,
- 0, 111, 112, 642, -86, 643, 43, 0, 0, 0,
- 91, 92, 244, 93, 245, 246, 247, 248, 249, 250,
- 251, 252, 253, 254, 255, 256, 257, 258, 0, 0,
- 0, 94, 0, 95, 0, 96, 97, 0, 0, 0,
- 0, 0, 98, 0, 0, 99, 0, 0, 0, 0,
- 100, 101, 102, 0, 0, 0, 103, 104, 0, 0,
- 644, 105, 106, 0, 0, 0, 107, 0, 108, 44,
- 0, 0, 0, 109, 45, 0, 0, 110, 0, 0,
- -183, 111, 112, 642, 645, 643, 43, 0, 0, 0,
- 91, 92, 0, 93, 248, 249, 250, 251, 252, 253,
- 254, 255, 256, 257, 258, 0, 0, 0, 0, 0,
- 0, 94, 0, 95, 0, 96, 97, 0, 0, 0,
- 0, 0, 98, 0, 0, 99, 0, 0, 0, 0,
- 100, 101, 102, 0, 0, 0, 103, 104, 0, 0,
- 644, 105, 106, 0, 0, 0, 107, 0, 108, 44,
- 0, 0, 0, 109, 45, 0, 0, 110, 0, 0,
- -238, 111, 112, 642, 645, 643, 43, 0, 0, 0,
- 91, 92, 0, 93, 249, 250, 251, 252, 253, 254,
- 255, 256, 257, 258, 0, 0, 0, 0, 0, 0,
- 0, 94, 0, 95, 0, 96, 97, 0, 0, 0,
- 0, 0, 98, 0, 0, 99, 0, 0, 0, 0,
- 100, 101, 102, 0, 0, 0, 103, 104, 0, 0,
- 644, 105, 106, 0, 0, 0, 107, 0, 108, 44,
- 0, 0, 0, 109, 45, 0, 0, 110, 621, 0,
- 90, 111, 112, 0, 645, 91, 92, 183, 93, 0,
- -27, -27, -27, -27, 0, 0, 0, 0, -27, -27,
- -27, 0, 0, 0, 0, 0, 94, 0, 95, 0,
- 96, 97, 0, 184, -27, 0, -155, 98, 0, 0,
- 99, 0, -155, 0, 0, 100, 101, 102, 0, 0,
- 0, 103, 104, 0, 0, 0, 105, 106, 0, 0,
- 0, 107, 0, 108, 0, 185, 186, 0, 109, 0,
- 0, 0, 110, -27, 0, 0, 111, 112, -27, 622,
- 0, 0, 0, -155, 0, 0, 331, -155, -27, -23,
- -23, -23, -23, 0, 0, 0, 0, -23, -23, -23,
- 0, 0, 0, 0, 0, 325, 0, 0, -19, -19,
- -19, -19, 184, -23, 0, -155, -19, -19, -19, 0,
- 0, -155, 0, 0, 312, 0, 0, -464, -464, -464,
- -464, 184, -19, 0, -155, -464, -464, -464, 0, 0,
- -155, 0, 0, 0, 185, 186, 0, 0, 0, 0,
- 0, -464, -23, 0, 0, 0, 0, -23, 0, 0,
- 0, 0, -155, 0, 0, 0, -155, -23, 0, 0,
- 0, -19, 90, 0, 0, 0, -19, 91, 92, 0,
- 93, -155, 0, 0, 0, -155, -19, 0, 0, 0,
- -464, 0, 0, 0, 0, -464, 0, 0, 94, 0,
- 95, 0, 96, 97, 0, -464, 0, 0, 0, 98,
- 0, 0, 99, 0, 0, 0, 0, 100, 101, 102,
- 0, 0, 0, 103, 104, 0, 0, 0, 105, 106,
- 0, 90, 0, 107, 0, 108, 91, 92, 0, 93,
- 109, 0, 0, 0, 110, 0, 0, 0, 111, 112,
- 0, 0, 310, 0, 0, 0, 0, 94, 0, 95,
- 0, 96, 97, 0, 0, 0, 0, 0, 98, 0,
- 0, 99, 0, 0, 0, 0, 100, 101, 102, 0,
- 0, 0, 103, 104, 0, 0, 0, 105, 106, 0,
- 90, 0, 107, 0, 108, 91, 92, 0, 93, 109,
- 0, 0, 0, 110, 0, 0, 0, 111, 112, 0,
- 0, 392, 0, 0, 0, 0, 94, 0, 95, 0,
- 96, 97, 0, 0, 0, 0, 0, 98, 0, 0,
- 99, 0, 0, 0, 0, 100, 101, 102, 0, 0,
- 0, 103, 104, 0, 0, 0, 105, 106, 0, 90,
- 0, 107, 0, 108, 91, 92, 0, 93, 109, 0,
- 0, 0, 110, 0, 0, 0, 111, 112, 0, 0,
- 452, 0, 0, 0, 0, 94, 0, 95, 0, 96,
- 97, 0, 0, 0, 0, 0, 98, 0, 0, 99,
- 0, 0, 0, 0, 100, 101, 102, 0, 0, 0,
- 103, 104, 0, 0, 0, 105, 106, 0, 90, 0,
- 107, 0, 108, 91, 92, 0, 93, 109, 0, 0,
- 0, 110, 0, 0, 0, 111, 112, 0, 0, 489,
- 0, 0, 0, 0, 94, 0, 95, 0, 96, 97,
- 0, 0, 0, 0, 0, 98, 0, 0, 99, 0,
- 0, 0, 0, 100, 101, 102, 0, 0, 0, 103,
- 104, 0, 0, 0, 105, 106, 0, 0, 0, 107,
- 0, 108, 0, 0, 0, 0, 109, 0, 0, 0,
- 110, 0, 0, 0, 111, 112, 0, 0, 734, 643,
- 744, 6, 7, 8, 91, 92, 0, 93, 9, 10,
- 11, 745, 0, 746, 747, 748, 749, 750, 751, 752,
- 753, 754, 755, 756, 13, 94, 0, 95, 0, 96,
- 97, 0, 0, 0, 0, 0, 98, 0, 0, 99,
- 0, 0, 0, 0, 100, 101, 102, 0, 0, 0,
- 103, 104, 0, 0, 0, 105, 106, 0, 0, 0,
- 107, 0, 108, 757, 0, 0, 0, 109, 758, 0,
- 0, 110, 0, 759, 0, 111, 112, 0, 350, 643,
- 43, 0, 0, 0, 91, 92, 0, 93, 0, 0,
- 0, 745, 0, 746, 747, 748, 749, 750, 751, 752,
- 753, 754, 755, 756, 0, 94, 0, 95, 0, 96,
- 97, 0, 0, 0, 0, 0, 98, 0, 0, 99,
- 0, 0, 0, 0, 100, 101, 102, 0, 0, 0,
- 103, 104, 0, 90, 0, 105, 106, 0, 91, 92,
- 107, 93, 108, 44, 0, 0, 0, 109, 45, 0,
- 0, 110, 0, 759, 0, 111, 112, 0, 350, 94,
- 0, 95, 0, 96, 97, 0, 0, 0, 0, 0,
- 98, 0, 0, 99, 0, 0, 0, 0, 100, 101,
- 102, 0, 0, 0, 103, 104, 0, 0, 0, 105,
- 106, 0, 0, 0, 107, 0, 108, 0, 0, 0,
- 0, 109, 0, 0, 0, 110, 0, 0, 0, 111,
- 112, 0, 471, 132, 133, 0, 134, 135, 0, 0,
- 0, 136, 137, 138, 139, 140, 141, 142, 143, 144,
- 145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
- 0, 90, 5, 0, 7, 126, 91, 92, 155, 93,
- 9, 10, 11, 250, 251, 252, 253, 254, 255, 256,
- 257, 258, 0, 0, 0, 0, 13, 94, 0, 95,
- 0, 96, 97, 0, 0, 0, 0, 0, 98, 0,
- 0, 99, 157, 0, 0, 0, 100, 101, 102, 0,
- 0, 283, 103, 104, 0, 90, 0, 105, 106, 0,
- 91, 92, 107, 93, 108, 19, 0, 0, 0, 109,
- 21, 0, 0, 110, 0, 0, 0, 111, 112, 0,
- 0, 94, 0, 95, 0, 96, 97, 0, 0, 0,
- 0, 0, 98, 0, 0, 99, 0, 0, 0, 0,
- 100, 101, 102, 0, 0, 0, 103, 104, 0, 90,
- 0, 105, 106, 0, 91, 92, 107, 93, 108, 353,
- 0, 0, 0, 109, 0, 0, 0, 110, 0, 0,
- 0, 111, 112, 0, 0, 94, 0, 95, 0, 96,
- 97, 0, 0, 0, 0, 0, 98, 0, 0, 99,
- 0, 0, 0, 0, 100, 101, 102, 0, 0, 0,
- 103, 104, 0, 90, 0, 105, 106, 0, 91, 92,
- 107, 93, 108, 0, 0, 0, 0, 109, 0, 0,
- 0, 110, 0, 800, 0, 111, 112, 0, 0, 94,
- 0, 95, 0, 96, 97, 0, 0, 0, 0, 0,
- 98, 0, 0, 99, 0, 0, 0, 0, 100, 101,
- 102, 0, 0, 0, 103, 104, 0, 90, 0, 105,
- 106, 0, 91, 92, 107, 93, 108, 0, 0, 0,
- 0, 109, 0, 0, 0, 110, 0, 0, 0, 111,
- 112, 0, 0, 94, 0, 95, 0, 96, 97, 0,
- 0, 0, 0, 0, 98, 0, 0, 99, 0, 0,
- 0, 0, 100, 101, 102, 0, 0, 0, 103, 104,
- 0, 90, 0, 222, 106, 0, 91, 92, 107, 93,
- 108, 0, 0, 0, 0, 109, 0, 0, 0, 110,
- 0, 0, 0, 111, 112, 0, 0, 94, 0, 95,
- 0, 96, 97, 0, 0, 0, 0, 0, 98, 0,
- 0, 99, 0, 0, 0, 0, 100, 101, 102, 0,
- 0, 0, 103, 104, 0, 599, 0, 224, 106, 0,
- 91, 92, 107, 93, 108, 0, 0, 0, 0, 109,
- 0, 0, 0, 110, 0, 0, 0, 111, 112, 0,
- 0, 94, 0, 95, 0, 96, 97, 0, 0, 0,
- 0, 0, 98, 0, 0, 99, 0, 0, 0, 0,
- 100, 101, 102, 0, 0, 0, 103, 104, 0, 0,
- 0, 105, 106, 0, 0, 0, 107, 0, 108, 0,
- 0, 0, 0, 109, 0, 0, 0, 110, 0, 0,
- 524, 111, 112, 5, 0, 7, 126, 0, 0, 0,
- 0, 9, 10, 11, 251, 252, 253, 254, 255, 256,
- 257, 258, 0, 0, 0, 0, 4, 13, -120, 5,
- 6, 7, 8, 0, 0, 0, 0, 9, 10, 11,
- 0, 0, 0, 0, 0, 426, 0, 427, 5, 6,
- 7, 8, 12, 13, 428, -120, 9, 10, 11, 0,
- 0, 0, 0, 0, 0, 0, 19, -415, -415, -415,
- 0, 21, 13, 14, 15, -120, 525, -415, 0, 0,
- 0, 0, 0, 0, -120, 0, 16, 17, 18, 0,
- 0, 0, 19, 0, 0, 0, 20, 21, 22, 23,
- 0, 4, 24, -120, 5, 6, 7, 8, 0, 0,
- 0, 19, 9, 10, 11, 0, 21, 0, 0, 0,
- -363, 0, 0, 0, 0, 0, 0, 0, 13, 4,
- -120, -120, 5, 6, 7, 8, 0, 0, 0, 0,
- 9, 10, 11, 0, 0, 0, 0, 0, 510, 511,
- -120, 0, 0, 0, 0, 0, 13, 426, -120, -120,
- 5, 6, 7, 8, 0, 0, 428, 19, 9, 10,
- 11, 0, 21, 5, 0, 7, 276, 24, -120, 0,
- 0, 9, 10, 11, 13, 0, 0, -120, 0, 0,
- 0, 0, 0, 0, 0, 19, 0, 13, 0, 0,
- 21, 5, 76, 7, 77, 24, 0, 0, 0, 9,
- 10, 11, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 19, 0, 13, 0, 0, 21, 0,
- 0, 0, -363, 0, 0, 0, 19, 0, 0, 0,
- 0, 21, 5, 76, 7, 77, -250, -250, 0, 0,
- 9, 10, 11, 5, 76, 7, 77, 0, 0, 0,
- 0, 9, 10, 11, 19, 0, 13, 0, 0, 21,
- 5, 76, 7, 77, 78, 0, 0, 13, 9, 10,
- 11, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 13, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 19, 0, 0, 0, 0,
- 21, 0, 0, 0, 0, 575, 19, 0, 0, 0,
- 0, 21, 0, 0, 0, 0, 619, 0, 0, 0,
- 0, 0, 0, 19, 0, 0, 132, 133, 21, 134,
- 135, 0, 0, 810, 136, 137, 138, 139, 140, 141,
- 142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
- 152, 153, 154, 0, 132, 133, 0, 134, 135, 0,
- 0, 155, 136, 137, 138, 139, 140, 141, 142, 143,
- 144, 145, 146, 147, 148, 149, 150, 151, 152, 153,
- 154, 0, 156, 0, 0, 0, 0, 0, 0, 356,
- 132, 133, 0, 134, 135, 157, 0, 0, 136, 137,
- 138, 139, 140, 141, 142, 143, 144, 145, 146, 147,
- 148, 149, 150, 151, 152, 153, 154, 0, 132, 133,
- 0, 134, 135, 157, 0, 155, 136, 137, 138, 139,
- 140, 141, 142, 143, 144, 145, 146, 147, 148, 149,
- 150, 151, 152, 153, 154, 0, 5, 0, 7, 276,
- 0, 0, 0, 564, 9, 10, 11, 0, 0, 157,
- 0, 0, 0, 0, 0, 5, 6, 7, 8, 0,
- 13, 428, 66, 9, 10, 11, 5, 6, 7, 8,
- 0, 0, 613, 0, 9, 10, 11, 157, 0, 13,
- 0, 0, 268, 0, 0, 5, 76, 7, 77, 0,
- 13, 269, 270, 9, 10, 11, 0, 0, 5, 19,
- 7, 126, 0, 0, 21, 0, 9, 10, 11, 13,
- 0, 5, 6, 7, 8, 0, 0, 0, 19, 9,
- 10, 11, 13, 21, 0, 0, 0, 0, 5, 19,
- 7, 276, 0, 0, 21, 13, 9, 10, 11, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 19, 0,
- 0, 0, 13, 21, 0, 0, 0, 0, 0, 0,
- 0, 19, 0, 0, 0, 0, 21, 0, 0, 0,
- 0, 0, 828, 0, 19, 0, 0, 0, 0, 21,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 19, 0, 0, 0, 0, 21, 242, 243, 244,
- 829, 245, 246, 247, 248, 249, 250, 251, 252, 253,
- 254, 255, 256, 257, 258, 66, 0, 0, 0, 0,
- 242, 243, 244, 0, 245, 246, 247, 248, 249, 250,
- 251, 252, 253, 254, 255, 256, 257, 258, 242, 243,
- 244, 867, 245, 246, 247, 248, 249, 250, 251, 252,
- 253, 254, 255, 256, 257, 258, 242, 243, 244, 0,
- 245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
- 255, 256, 257, 258
- };
-
- static const short yycheck[] = { 52,
- 53, 75, 9, 10, 11, 196, 21, 28, 71, 16,
- 17, 307, 55, 20, 190, 22, 23, 233, 79, 297,
- 29, 30, 86, 28, 269, 328, 2, 3, 326, 391,
- 2, 3, 263, 618, 332, 195, 105, 412, 30, 462,
- 160, 56, 410, 714, 535, 60, 187, 68, 191, 86,
- 50, 58, 105, 128, 180, 1, 131, 64, 79, 274,
- 1, 53, 160, 68, 314, 213, 794, 81, 1, 10,
- 75, 1, 220, 9, 79, 82, 96, 97, 7, 637,
- 38, 38, 102, 45, 38, 59, 1, 156, 3, 4,
- 38, 98, 268, 113, 86, 0, 38, 693, 30, 59,
- 60, 30, 59, 45, 0, 776, 38, 59, 60, 3,
- 4, 271, 59, 105, 305, 711, 76, 59, 76, 81,
- 38, 50, 76, 128, 76, 82, 131, 45, 76, 59,
- 59, 60, 195, 186, 45, 38, 82, 865, 236, 131,
- 76, 82, 45, 388, 77, 703, 77, 818, 155, 394,
- 518, 401, 67, 222, 793, 224, 177, 72, 165, 166,
- 181, 168, 169, 27, 156, 893, 82, 174, 237, 222,
- 191, 224, 177, 67, 315, 180, 181, 320, 72, 327,
- 77, 324, 235, 398, 81, 326, 191, 201, 679, 680,
- 65, 332, 82, 3, 4, 59, 60, 323, 339, 77,
- 341, 77, 841, 81, 211, 81, 226, 216, 271, 218,
- 279, 264, 3, 581, 82, 590, 639, 270, 30, 219,
- 59, 221, 861, 30, 809, 864, 218, 866, 506, 59,
- 222, 238, 224, 3, 4, 874, 3, 78, 50, 30,
- 7, 76, 3, 4, 3, 237, 81, 59, 60, 499,
- 612, 3, 4, 76, 261, 262, 319, 67, 81, 50,
- 274, 359, 72, 30, 269, 30, 59, 906, 59, 60,
- 76, 30, 82, 500, 289, 81, 329, 504, 30, 78,
- 287, 3, 4, 50, 707, 7, 38, 279, 50, 51,
- 52, 50, 59, 300, 59, 60, 59, 67, 50, 320,
- 59, 532, 72, 324, 59, 583, 67, 59, 30, 457,
- 560, 72, 82, 77, 78, 320, 464, 465, 323, 324,
- 72, 82, 549, 76, 30, 552, 542, 334, 50, 3,
- 4, 81, 352, 564, 48, 49, 405, 59, 68, 69,
- 70, 76, 27, 396, 9, 30, 81, 75, 78, 63,
- 72, 36, 416, 59, 60, 241, 242, 243, 603, 245,
- 246, 247, 248, 249, 250, 251, 252, 253, 254, 255,
- 256, 257, 258, 493, 76, 473, 50, 76, 681, 416,
- 77, 3, 4, 388, 398, 635, 77, 637, 666, 394,
- 81, 814, 77, 67, 409, 493, 81, 38, 72, 82,
- 76, 59, 60, 412, 1, 81, 554, 4, 30, 6,
- 7, 59, 60, 405, 555, 12, 13, 14, 76, 560,
- 429, 430, 653, 77, 416, 401, 602, 81, 50, 401,
- 36, 28, 608, 59, 679, 680, 412, 59, 430, 77,
- 412, 686, 687, 81, 604, 81, 677, 333, 77, 609,
- 72, 59, 81, 703, 68, 69, 70, 605, 606, 607,
- 535, 536, 610, 611, 78, 59, 60, 443, 77, 567,
- 67, 443, 81, 77, 78, 72, 68, 69, 70, 67,
- 77, 78, 556, 631, 491, 494, 78, 68, 69, 70,
- 77, 77, 513, 709, 81, 636, 637, 78, 3, 4,
- 77, 779, 76, 495, 81, 514, 515, 76, 513, 657,
- 658, 659, 77, 77, 535, 536, 81, 526, 527, 82,
- 594, 595, 498, 515, 531, 30, 498, 743, 589, 593,
- 535, 536, 76, 38, 76, 527, 77, 546, 547, 59,
- 60, 604, 585, 586, 10, 50, 609, 695, 77, 78,
- 76, 556, 559, 574, 59, 547, 593, 63, 856, 620,
- 858, 82, 703, 59, 60, 93, 94, 72, 589, 574,
- 54, 55, 579, 57, 58, 59, 60, 76, 3, 4,
- 27, 590, 603, 588, 589, 9, 83, 77, 36, 594,
- 595, 78, 740, 76, 480, 76, 3, 4, 603, 620,
- 7, 593, 78, 78, 900, 76, 78, 3, 4, 5,
- 6, 7, 908, 618, 590, 620, 3, 4, 590, 76,
- 38, 76, 76, 30, 76, 38, 842, 1, 63, 682,
- 4, 5, 6, 7, 59, 76, 10, 644, 12, 13,
- 14, 83, 67, 50, 83, 836, 76, 72, 82, 63,
- 59, 36, 59, 60, 28, 729, 709, 76, 679, 680,
- 76, 83, 548, 78, 81, 686, 687, 883, 884, 32,
- 81, 67, 59, 83, 679, 680, 72, 563, 77, 76,
- 67, 686, 687, 54, 55, 72, 57, 58, 59, 60,
- 743, 77, 699, 67, 76, 3, 77, 38, 72, 83,
- 721, 754, 709, 63, 76, 76, 38, 1, 82, 78,
- 4, 5, 6, 7, 38, 856, 721, 858, 12, 13,
- 14, 6, 7, 78, 729, 81, 63, 12, 13, 14,
- 3, 4, 38, 709, 28, 809, 743, 709, 791, 81,
- 626, 36, 795, 758, 630, 78, 63, 83, 755, 802,
- 811, 78, 38, 7, 763, 764, 1, 30, 59, 4,
- 5, 6, 7, 59, 817, 77, 59, 12, 13, 14,
- 823, 38, 764, 67, 77, 38, 16, 50, 72, 77,
- 833, 78, 59, 28, 59, 671, 59, 60, 82, 842,
- 811, 40, 41, 42, 43, 44, 45, 46, 47, 48,
- 49, 50, 51, 52, 809, 77, 811, 693, 77, 77,
- 696, 46, 47, 48, 49, 50, 51, 52, 1, 63,
- 76, 4, 67, 6, 7, 711, 17, 72, 714, 12,
- 13, 14, 9, 76, 887, 842, 77, 82, 77, 5,
- 6, 7, 728, 76, 76, 28, 12, 13, 14, 1,
- 77, 3, 4, 5, 6, 7, 8, 9, 77, 11,
- 12, 13, 14, 15, 750, 17, 18, 19, 20, 21,
- 22, 23, 24, 25, 26, 27, 28, 29, 77, 31,
- 59, 33, 34, 81, 67, 68, 69, 70, 40, 72,
- 776, 43, 77, 77, 77, 78, 48, 49, 50, 77,
- 76, 76, 54, 55, 0, 0, 3, 59, 60, 532,
- 794, 315, 64, 636, 66, 67, 80, 626, 277, 71,
- 72, 531, 555, 75, 336, 77, 78, 79, 80, 211,
- 82, 334, 818, 1, 561, 3, 4, 5, 6, 7,
- 8, 9, 828, 11, 12, 13, 14, 15, 341, 17,
- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
- 28, 29, 842, 31, 636, 33, 34, 48, 49, 50,
- 51, 52, 40, 842, 888, 43, 404, 890, 404, 539,
- 48, 49, 50, 58, 523, 729, 54, 55, 595, 395,
- 726, 59, 60, 516, 498, 721, 64, 3, 66, 67,
- 288, 7, 493, 71, 72, 400, 400, 75, 653, 77,
- 567, 79, 80, 1, 82, 3, 4, -1, -1, 359,
- 8, 9, -1, 11, 30, -1, -1, 15, -1, 17,
- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
- -1, 29, -1, 31, 50, 33, 34, -1, 27, -1,
- -1, 30, 40, 59, 60, 43, -1, 36, -1, -1,
- 48, 49, 50, -1, -1, -1, 54, 55, -1, -1,
- -1, 59, 60, -1, -1, -1, 64, -1, 66, 67,
- 59, 60, -1, 71, 72, -1, -1, 75, -1, 77,
- 78, 79, 80, 1, 82, 3, 4, -1, 77, -1,
- 8, 9, 81, 11, -1, -1, -1, 15, -1, 17,
- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
- -1, 29, -1, 31, -1, 33, 34, -1, -1, -1,
- -1, -1, 40, -1, -1, 43, -1, -1, -1, -1,
- 48, 49, 50, -1, -1, -1, 54, 55, -1, -1,
- -1, 59, 60, -1, -1, -1, 64, -1, 66, 67,
- -1, -1, -1, 71, 72, -1, -1, 75, -1, 77,
- 78, 79, 80, 1, 82, 3, 4, -1, -1, -1,
- 8, 9, -1, 11, -1, -1, -1, 15, -1, 17,
- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
- -1, 29, -1, 31, -1, 33, 34, -1, -1, -1,
- -1, -1, 40, -1, -1, 43, -1, -1, -1, -1,
- 48, 49, 50, -1, -1, -1, 54, 55, -1, -1,
- -1, 59, 60, -1, -1, -1, 64, -1, 66, 67,
- -1, -1, -1, 71, 72, -1, -1, 75, -1, 77,
- -1, 79, 80, 1, 82, 3, 4, -1, -1, -1,
- 8, 9, -1, 11, -1, -1, -1, 15, -1, 17,
- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
- -1, 29, -1, 31, -1, 33, 34, -1, -1, -1,
- -1, -1, 40, -1, -1, 43, -1, -1, -1, -1,
- 48, 49, 50, -1, -1, -1, 54, 55, -1, -1,
- -1, 59, 60, -1, -1, -1, 64, -1, 66, 67,
- -1, -1, -1, 71, 72, -1, -1, 75, -1, 77,
- -1, 79, 80, 1, 82, 3, 4, -1, 6, 7,
- 8, 9, -1, 11, 12, 13, 14, 41, 42, 43,
- 44, 45, 46, 47, 48, 49, 50, 51, 52, -1,
- 28, 29, -1, 31, -1, 33, 34, -1, -1, -1,
- -1, -1, 40, -1, -1, 43, -1, -1, -1, -1,
- 48, 49, 50, -1, -1, -1, 54, 55, -1, -1,
- -1, 59, 60, -1, -1, -1, 64, -1, 66, 67,
- -1, -1, -1, 71, 72, -1, -1, 75, -1, -1,
- -1, 79, 80, 1, 82, 3, 4, -1, -1, -1,
- 8, 9, 37, 11, 39, 40, 41, 42, 43, 44,
- 45, 46, 47, 48, 49, 50, 51, 52, -1, -1,
- -1, 29, -1, 31, -1, 33, 34, -1, -1, -1,
- -1, -1, 40, -1, -1, 43, -1, -1, -1, -1,
- 48, 49, 50, -1, -1, -1, 54, 55, -1, -1,
- 58, 59, 60, -1, -1, -1, 64, -1, 66, 67,
- -1, -1, -1, 71, 72, -1, -1, 75, -1, -1,
- 78, 79, 80, 1, 82, 3, 4, -1, -1, -1,
- 8, 9, -1, 11, 42, 43, 44, 45, 46, 47,
- 48, 49, 50, 51, 52, -1, -1, -1, -1, -1,
- -1, 29, -1, 31, -1, 33, 34, -1, -1, -1,
- -1, -1, 40, -1, -1, 43, -1, -1, -1, -1,
- 48, 49, 50, -1, -1, -1, 54, 55, -1, -1,
- 58, 59, 60, -1, -1, -1, 64, -1, 66, 67,
- -1, -1, -1, 71, 72, -1, -1, 75, -1, -1,
- 78, 79, 80, 1, 82, 3, 4, -1, -1, -1,
- 8, 9, -1, 11, 43, 44, 45, 46, 47, 48,
- 49, 50, 51, 52, -1, -1, -1, -1, -1, -1,
- -1, 29, -1, 31, -1, 33, 34, -1, -1, -1,
- -1, -1, 40, -1, -1, 43, -1, -1, -1, -1,
- 48, 49, 50, -1, -1, -1, 54, 55, -1, -1,
- 58, 59, 60, -1, -1, -1, 64, -1, 66, 67,
- -1, -1, -1, 71, 72, -1, -1, 75, 1, -1,
- 3, 79, 80, -1, 82, 8, 9, 1, 11, -1,
- 4, 5, 6, 7, -1, -1, -1, -1, 12, 13,
- 14, -1, -1, -1, -1, -1, 29, -1, 31, -1,
- 33, 34, -1, 27, 28, -1, 30, 40, -1, -1,
- 43, -1, 36, -1, -1, 48, 49, 50, -1, -1,
- -1, 54, 55, -1, -1, -1, 59, 60, -1, -1,
- -1, 64, -1, 66, -1, 59, 60, -1, 71, -1,
- -1, -1, 75, 67, -1, -1, 79, 80, 72, 82,
- -1, -1, -1, 77, -1, -1, 1, 81, 82, 4,
- 5, 6, 7, -1, -1, -1, -1, 12, 13, 14,
- -1, -1, -1, -1, -1, 1, -1, -1, 4, 5,
- 6, 7, 27, 28, -1, 30, 12, 13, 14, -1,
- -1, 36, -1, -1, 1, -1, -1, 4, 5, 6,
- 7, 27, 28, -1, 30, 12, 13, 14, -1, -1,
- 36, -1, -1, -1, 59, 60, -1, -1, -1, -1,
- -1, 28, 67, -1, -1, -1, -1, 72, -1, -1,
- -1, -1, 77, -1, -1, -1, 81, 82, -1, -1,
- -1, 67, 3, -1, -1, -1, 72, 8, 9, -1,
- 11, 77, -1, -1, -1, 81, 82, -1, -1, -1,
- 67, -1, -1, -1, -1, 72, -1, -1, 29, -1,
- 31, -1, 33, 34, -1, 82, -1, -1, -1, 40,
- -1, -1, 43, -1, -1, -1, -1, 48, 49, 50,
- -1, -1, -1, 54, 55, -1, -1, -1, 59, 60,
- -1, 3, -1, 64, -1, 66, 8, 9, -1, 11,
- 71, -1, -1, -1, 75, -1, -1, -1, 79, 80,
- -1, -1, 83, -1, -1, -1, -1, 29, -1, 31,
- -1, 33, 34, -1, -1, -1, -1, -1, 40, -1,
- -1, 43, -1, -1, -1, -1, 48, 49, 50, -1,
- -1, -1, 54, 55, -1, -1, -1, 59, 60, -1,
- 3, -1, 64, -1, 66, 8, 9, -1, 11, 71,
- -1, -1, -1, 75, -1, -1, -1, 79, 80, -1,
- -1, 83, -1, -1, -1, -1, 29, -1, 31, -1,
- 33, 34, -1, -1, -1, -1, -1, 40, -1, -1,
- 43, -1, -1, -1, -1, 48, 49, 50, -1, -1,
- -1, 54, 55, -1, -1, -1, 59, 60, -1, 3,
- -1, 64, -1, 66, 8, 9, -1, 11, 71, -1,
- -1, -1, 75, -1, -1, -1, 79, 80, -1, -1,
- 83, -1, -1, -1, -1, 29, -1, 31, -1, 33,
- 34, -1, -1, -1, -1, -1, 40, -1, -1, 43,
- -1, -1, -1, -1, 48, 49, 50, -1, -1, -1,
- 54, 55, -1, -1, -1, 59, 60, -1, 3, -1,
- 64, -1, 66, 8, 9, -1, 11, 71, -1, -1,
- -1, 75, -1, -1, -1, 79, 80, -1, -1, 83,
- -1, -1, -1, -1, 29, -1, 31, -1, 33, 34,
- -1, -1, -1, -1, -1, 40, -1, -1, 43, -1,
- -1, -1, -1, 48, 49, 50, -1, -1, -1, 54,
- 55, -1, -1, -1, 59, 60, -1, -1, -1, 64,
- -1, 66, -1, -1, -1, -1, 71, -1, -1, -1,
- 75, -1, -1, -1, 79, 80, -1, -1, 83, 3,
- 4, 5, 6, 7, 8, 9, -1, 11, 12, 13,
- 14, 15, -1, 17, 18, 19, 20, 21, 22, 23,
- 24, 25, 26, 27, 28, 29, -1, 31, -1, 33,
- 34, -1, -1, -1, -1, -1, 40, -1, -1, 43,
- -1, -1, -1, -1, 48, 49, 50, -1, -1, -1,
- 54, 55, -1, -1, -1, 59, 60, -1, -1, -1,
- 64, -1, 66, 67, -1, -1, -1, 71, 72, -1,
- -1, 75, -1, 77, -1, 79, 80, -1, 82, 3,
- 4, -1, -1, -1, 8, 9, -1, 11, -1, -1,
- -1, 15, -1, 17, 18, 19, 20, 21, 22, 23,
- 24, 25, 26, 27, -1, 29, -1, 31, -1, 33,
- 34, -1, -1, -1, -1, -1, 40, -1, -1, 43,
- -1, -1, -1, -1, 48, 49, 50, -1, -1, -1,
- 54, 55, -1, 3, -1, 59, 60, -1, 8, 9,
- 64, 11, 66, 67, -1, -1, -1, 71, 72, -1,
- -1, 75, -1, 77, -1, 79, 80, -1, 82, 29,
- -1, 31, -1, 33, 34, -1, -1, -1, -1, -1,
- 40, -1, -1, 43, -1, -1, -1, -1, 48, 49,
- 50, -1, -1, -1, 54, 55, -1, -1, -1, 59,
- 60, -1, -1, -1, 64, -1, 66, -1, -1, -1,
- -1, 71, -1, -1, -1, 75, -1, -1, -1, 79,
- 80, -1, 82, 3, 4, -1, 6, 7, -1, -1,
- -1, 11, 12, 13, 14, 15, 16, 17, 18, 19,
- 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
- -1, 3, 4, -1, 6, 7, 8, 9, 38, 11,
- 12, 13, 14, 44, 45, 46, 47, 48, 49, 50,
- 51, 52, -1, -1, -1, -1, 28, 29, -1, 31,
- -1, 33, 34, -1, -1, -1, -1, -1, 40, -1,
- -1, 43, 72, -1, -1, -1, 48, 49, 50, -1,
- -1, 81, 54, 55, -1, 3, -1, 59, 60, -1,
- 8, 9, 64, 11, 66, 67, -1, -1, -1, 71,
- 72, -1, -1, 75, -1, -1, -1, 79, 80, -1,
- -1, 29, -1, 31, -1, 33, 34, -1, -1, -1,
- -1, -1, 40, -1, -1, 43, -1, -1, -1, -1,
- 48, 49, 50, -1, -1, -1, 54, 55, -1, 3,
- -1, 59, 60, -1, 8, 9, 64, 11, 66, 67,
- -1, -1, -1, 71, -1, -1, -1, 75, -1, -1,
- -1, 79, 80, -1, -1, 29, -1, 31, -1, 33,
- 34, -1, -1, -1, -1, -1, 40, -1, -1, 43,
- -1, -1, -1, -1, 48, 49, 50, -1, -1, -1,
- 54, 55, -1, 3, -1, 59, 60, -1, 8, 9,
- 64, 11, 66, -1, -1, -1, -1, 71, -1, -1,
- -1, 75, -1, 77, -1, 79, 80, -1, -1, 29,
- -1, 31, -1, 33, 34, -1, -1, -1, -1, -1,
- 40, -1, -1, 43, -1, -1, -1, -1, 48, 49,
- 50, -1, -1, -1, 54, 55, -1, 3, -1, 59,
- 60, -1, 8, 9, 64, 11, 66, -1, -1, -1,
- -1, 71, -1, -1, -1, 75, -1, -1, -1, 79,
- 80, -1, -1, 29, -1, 31, -1, 33, 34, -1,
- -1, -1, -1, -1, 40, -1, -1, 43, -1, -1,
- -1, -1, 48, 49, 50, -1, -1, -1, 54, 55,
- -1, 3, -1, 59, 60, -1, 8, 9, 64, 11,
- 66, -1, -1, -1, -1, 71, -1, -1, -1, 75,
- -1, -1, -1, 79, 80, -1, -1, 29, -1, 31,
- -1, 33, 34, -1, -1, -1, -1, -1, 40, -1,
- -1, 43, -1, -1, -1, -1, 48, 49, 50, -1,
- -1, -1, 54, 55, -1, 3, -1, 59, 60, -1,
- 8, 9, 64, 11, 66, -1, -1, -1, -1, 71,
- -1, -1, -1, 75, -1, -1, -1, 79, 80, -1,
- -1, 29, -1, 31, -1, 33, 34, -1, -1, -1,
- -1, -1, 40, -1, -1, 43, -1, -1, -1, -1,
- 48, 49, 50, -1, -1, -1, 54, 55, -1, -1,
- -1, 59, 60, -1, -1, -1, 64, -1, 66, -1,
- -1, -1, -1, 71, -1, -1, -1, 75, -1, -1,
- 1, 79, 80, 4, -1, 6, 7, -1, -1, -1,
- -1, 12, 13, 14, 45, 46, 47, 48, 49, 50,
- 51, 52, -1, -1, -1, -1, 1, 28, 3, 4,
- 5, 6, 7, -1, -1, -1, -1, 12, 13, 14,
- -1, -1, -1, -1, -1, 1, -1, 3, 4, 5,
- 6, 7, 27, 28, 10, 30, 12, 13, 14, -1,
- -1, -1, -1, -1, -1, -1, 67, 68, 69, 70,
- -1, 72, 28, 48, 49, 50, 77, 78, -1, -1,
- -1, -1, -1, -1, 59, -1, 61, 62, 63, -1,
- -1, -1, 67, -1, -1, -1, 71, 72, 73, 74,
- -1, 1, 77, 3, 4, 5, 6, 7, -1, -1,
- -1, 67, 12, 13, 14, -1, 72, -1, -1, -1,
- 76, -1, -1, -1, -1, -1, -1, -1, 28, 1,
- 30, 3, 4, 5, 6, 7, -1, -1, -1, -1,
- 12, 13, 14, -1, -1, -1, -1, -1, 48, 49,
- 50, -1, -1, -1, -1, -1, 28, 1, 30, 59,
- 4, 5, 6, 7, -1, -1, 10, 67, 12, 13,
- 14, -1, 72, 4, -1, 6, 7, 77, 50, -1,
- -1, 12, 13, 14, 28, -1, -1, 59, -1, -1,
- -1, -1, -1, -1, -1, 67, -1, 28, -1, -1,
- 72, 4, 5, 6, 7, 77, -1, -1, -1, 12,
- 13, 14, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 67, -1, 28, -1, -1, 72, -1,
- -1, -1, 76, -1, -1, -1, 67, -1, -1, -1,
- -1, 72, 4, 5, 6, 7, 77, 78, -1, -1,
- 12, 13, 14, 4, 5, 6, 7, -1, -1, -1,
- -1, 12, 13, 14, 67, -1, 28, -1, -1, 72,
- 4, 5, 6, 7, 77, -1, -1, 28, 12, 13,
- 14, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 28, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 67, -1, -1, -1, -1,
- 72, -1, -1, -1, -1, 77, 67, -1, -1, -1,
- -1, 72, -1, -1, -1, -1, 77, -1, -1, -1,
- -1, -1, -1, 67, -1, -1, 3, 4, 72, 6,
- 7, -1, -1, 77, 11, 12, 13, 14, 15, 16,
- 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
- 27, 28, 29, -1, 3, 4, -1, 6, 7, -1,
- -1, 38, 11, 12, 13, 14, 15, 16, 17, 18,
- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
- 29, -1, 59, -1, -1, -1, -1, -1, -1, 38,
- 3, 4, -1, 6, 7, 72, -1, -1, 11, 12,
- 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
- 23, 24, 25, 26, 27, 28, 29, -1, 3, 4,
- -1, 6, 7, 72, -1, 38, 11, 12, 13, 14,
- 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
- 25, 26, 27, 28, 29, -1, 4, -1, 6, 7,
- -1, -1, -1, 38, 12, 13, 14, -1, -1, 72,
- -1, -1, -1, -1, -1, 4, 5, 6, 7, -1,
- 28, 10, 30, 12, 13, 14, 4, 5, 6, 7,
- -1, -1, 10, -1, 12, 13, 14, 72, -1, 28,
- -1, -1, 50, -1, -1, 4, 5, 6, 7, -1,
- 28, 59, 60, 12, 13, 14, -1, -1, 4, 67,
- 6, 7, -1, -1, 72, -1, 12, 13, 14, 28,
- -1, 4, 5, 6, 7, -1, -1, -1, 67, 12,
- 13, 14, 28, 72, -1, -1, -1, -1, 4, 67,
- 6, 7, -1, -1, 72, 28, 12, 13, 14, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 67, -1,
- -1, -1, 28, 72, -1, -1, -1, -1, -1, -1,
- -1, 67, -1, -1, -1, -1, 72, -1, -1, -1,
- -1, -1, 10, -1, 67, -1, -1, -1, -1, 72,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 67, -1, -1, -1, -1, 72, 35, 36, 37,
- 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
- 48, 49, 50, 51, 52, 30, -1, -1, -1, -1,
- 35, 36, 37, -1, 39, 40, 41, 42, 43, 44,
- 45, 46, 47, 48, 49, 50, 51, 52, 35, 36,
- 37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
- 47, 48, 49, 50, 51, 52, 35, 36, 37, -1,
- 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
- 49, 50, 51, 52
- };
- /* -*-C-*- Note some compilers choke on comments on `#line' lines. */
- #line 3 "/usr/local/lib/bison.simple"
-
- /* Skeleton output parser for bison,
- Copyright (C) 1984, 1989, 1990 Bob Corbett and Richard Stallman
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-
- #ifndef alloca
- #ifdef __GNUC__
- #define alloca __builtin_alloca
- #else /* not GNU C. */
- #if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
- #include <alloca.h>
- #else /* not sparc */
- #if defined (MSDOS) && !defined (__TURBOC__)
- #include <malloc.h>
- #else /* not MSDOS, or __TURBOC__ */
- #if defined(_AIX)
- #include <malloc.h>
- #pragma alloca
- #else /* not MSDOS, __TURBOC__, or _AIX */
- #ifdef __hpux
- #ifdef __cplusplus
- extern "C" {
- void *alloca (unsigned int);
- };
- #else /* not __cplusplus */
- void *alloca ();
- #endif /* not __cplusplus */
- #endif /* __hpux */
- #endif /* not _AIX */
- #endif /* not MSDOS, or __TURBOC__ */
- #endif /* not sparc. */
- #endif /* not GNU C. */
- #endif /* alloca not defined. */
-
- /* This is the parser code that is written into each bison parser
- when the %semantic_parser declaration is not specified in the grammar.
- It was written by Richard Stallman by simplifying the hairy parser
- used when %semantic_parser is specified. */
-
- /* Note: there must be only one dollar sign in this file.
- It is replaced by the list of actions, each action
- as one case of the switch. */
-
- #define yyerrok (yyerrstatus = 0)
- #define yyclearin (yychar = YYEMPTY)
- #define YYEMPTY -2
- #define YYEOF 0
- #define YYACCEPT return(0)
- #define YYABORT return(1)
- #define YYERROR goto yyerrlab1
- /* Like YYERROR except do call yyerror.
- This remains here temporarily to ease the
- transition to the new meaning of YYERROR, for GCC.
- Once GCC version 2 has supplanted version 1, this can go. */
- #define YYFAIL goto yyerrlab
- #define YYRECOVERING() (!!yyerrstatus)
- #define YYBACKUP(token, value) \
- do \
- if (yychar == YYEMPTY && yylen == 1) \
- { yychar = (token), yylval = (value); \
- yychar1 = YYTRANSLATE (yychar); \
- YYPOPSTACK; \
- goto yybackup; \
- } \
- else \
- { yyerror ("syntax error: cannot back up"); YYERROR; } \
- while (0)
-
- #define YYTERROR 1
- #define YYERRCODE 256
-
- #ifndef YYPURE
- #define YYLEX yylex()
- #endif
-
- #ifdef YYPURE
- #ifdef YYLSP_NEEDED
- #define YYLEX yylex(&yylval, &yylloc)
- #else
- #define YYLEX yylex(&yylval)
- #endif
- #endif
-
- /* If nonreentrant, generate the variables here */
-
- #ifndef YYPURE
-
- int yychar; /* the lookahead symbol */
- YYSTYPE yylval; /* the semantic value of the */
- /* lookahead symbol */
-
- #ifdef YYLSP_NEEDED
- YYLTYPE yylloc; /* location data for the lookahead */
- /* symbol */
- #endif
-
- int yynerrs; /* number of parse errors so far */
- #endif /* not YYPURE */
-
- #if YYDEBUG != 0
- int yydebug; /* nonzero means print parse trace */
- /* Since this is uninitialized, it does not stop multiple parsers
- from coexisting. */
- #endif
-
- /* YYINITDEPTH indicates the initial size of the parser's stacks */
-
- #ifndef YYINITDEPTH
- #define YYINITDEPTH 200
- #endif
-
- /* YYMAXDEPTH is the maximum size the stacks can grow to
- (effective only if the built-in stack extension method is used). */
-
- #if YYMAXDEPTH == 0
- #undef YYMAXDEPTH
- #endif
-
- #ifndef YYMAXDEPTH
- #define YYMAXDEPTH 10000
- #endif
-
- /* Prevent warning if -Wstrict-prototypes. */
- #ifdef __GNUC__
- int yyparse (void);
- #endif
-
- #if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
- #define __yy_bcopy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT)
- #else /* not GNU C or C++ */
- #ifndef __cplusplus
-
- /* This is the most reliable way to avoid incompatibilities
- in available built-in functions on various systems. */
- static void
- __yy_bcopy (from, to, count)
- char *from;
- char *to;
- int count;
- {
- register char *f = from;
- register char *t = to;
- register int i = count;
-
- while (i-- > 0)
- *t++ = *f++;
- }
-
- #else /* __cplusplus */
-
- /* This is the most reliable way to avoid incompatibilities
- in available built-in functions on various systems. */
- static void
- __yy_bcopy (char *from, char *to, int count)
- {
- register char *f = from;
- register char *t = to;
- register int i = count;
-
- while (i-- > 0)
- *t++ = *f++;
- }
-
- #endif
- #endif
-
- #line 184 "/usr/local/lib/bison.simple"
-
- /* The user can define YYPARSE_PARAM as the name of an argument to be passed
- into yyparse. The argument should have type void *.
- It should actually point to an object.
- Grammar actions can access the variable by casting it
- to the proper pointer type. */
-
- #ifdef YYPARSE_PARAM
- #define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
- #else
- #define YYPARSE_PARAM
- #define YYPARSE_PARAM_DECL
- #endif
-
- int
- yyparse(YYPARSE_PARAM)
- YYPARSE_PARAM_DECL
- {
- register int yystate;
- register int yyn;
- register short *yyssp;
- register YYSTYPE *yyvsp;
- int yyerrstatus; /* number of tokens to shift before error messages enabled */
- int yychar1 = 0; /* lookahead token as an internal (translated) token number */
-
- short yyssa[YYINITDEPTH]; /* the state stack */
- YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
-
- short *yyss = yyssa; /* refer to the stacks thru separate pointers */
- YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
-
- #ifdef YYLSP_NEEDED
- YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
- YYLTYPE *yyls = yylsa;
- YYLTYPE *yylsp;
-
- #define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
- #else
- #define YYPOPSTACK (yyvsp--, yyssp--)
- #endif
-
- int yystacksize = YYINITDEPTH;
-
- #ifdef YYPURE
- int yychar;
- YYSTYPE yylval;
- int yynerrs;
- #ifdef YYLSP_NEEDED
- YYLTYPE yylloc;
- #endif
- #endif
-
- YYSTYPE yyval; /* the variable used to return */
- /* semantic values from the action */
- /* routines */
-
- int yylen;
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Starting parse\n");
- #endif
-
- yystate = 0;
- yyerrstatus = 0;
- yynerrs = 0;
- yychar = YYEMPTY; /* Cause a token to be read. */
-
- /* Initialize stack pointers.
- Waste one element of value and location stack
- so that they stay on the same level as the state stack.
- The wasted elements are never initialized. */
-
- yyssp = yyss - 1;
- yyvsp = yyvs;
- #ifdef YYLSP_NEEDED
- yylsp = yyls;
- #endif
-
- /* Push a new state, which is found in yystate . */
- /* In all cases, when you get here, the value and location stacks
- have just been pushed. so pushing a state here evens the stacks. */
- yynewstate:
-
- *++yyssp = yystate;
-
- if (yyssp >= yyss + yystacksize - 1)
- {
- /* Give user a chance to reallocate the stack */
- /* Use copies of these so that the &'s don't force the real ones into memory. */
- YYSTYPE *yyvs1 = yyvs;
- short *yyss1 = yyss;
- #ifdef YYLSP_NEEDED
- YYLTYPE *yyls1 = yyls;
- #endif
-
- /* Get the current used size of the three stacks, in elements. */
- int size = yyssp - yyss + 1;
-
- #ifdef yyoverflow
- /* Each stack pointer address is followed by the size of
- the data in use in that stack, in bytes. */
- #ifdef YYLSP_NEEDED
- /* This used to be a conditional around just the two extra args,
- but that might be undefined if yyoverflow is a macro. */
- yyoverflow("parser stack overflow",
- &yyss1, size * sizeof (*yyssp),
- &yyvs1, size * sizeof (*yyvsp),
- &yyls1, size * sizeof (*yylsp),
- &yystacksize);
- #else
- yyoverflow("parser stack overflow",
- &yyss1, size * sizeof (*yyssp),
- &yyvs1, size * sizeof (*yyvsp),
- &yystacksize);
- #endif
-
- yyss = yyss1; yyvs = yyvs1;
- #ifdef YYLSP_NEEDED
- yyls = yyls1;
- #endif
- #else /* no yyoverflow */
- /* Extend the stack our own way. */
- if (yystacksize >= YYMAXDEPTH)
- {
- yyerror("parser stack overflow");
- return 2;
- }
- yystacksize *= 2;
- if (yystacksize > YYMAXDEPTH)
- yystacksize = YYMAXDEPTH;
- yyss = (short *) alloca (yystacksize * sizeof (*yyssp));
- __yy_bcopy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp));
- yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp));
- __yy_bcopy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp));
- #ifdef YYLSP_NEEDED
- yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp));
- __yy_bcopy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp));
- #endif
- #endif /* no yyoverflow */
-
- yyssp = yyss + size - 1;
- yyvsp = yyvs + size - 1;
- #ifdef YYLSP_NEEDED
- yylsp = yyls + size - 1;
- #endif
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Stack size increased to %d\n", yystacksize);
- #endif
-
- if (yyssp >= yyss + yystacksize - 1)
- YYABORT;
- }
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Entering state %d\n", yystate);
- #endif
-
- goto yybackup;
- yybackup:
-
- /* Do appropriate processing given the current state. */
- /* Read a lookahead token if we need one and don't already have one. */
- /* yyresume: */
-
- /* First try to decide what to do without reference to lookahead token. */
-
- yyn = yypact[yystate];
- if (yyn == YYFLAG)
- goto yydefault;
-
- /* Not known => get a lookahead token if don't already have one. */
-
- /* yychar is either YYEMPTY or YYEOF
- or a valid token in external form. */
-
- if (yychar == YYEMPTY)
- {
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Reading a token: ");
- #endif
- yychar = YYLEX;
- }
-
- /* Convert token to internal form (in yychar1) for indexing tables with */
-
- if (yychar <= 0) /* This means end of input. */
- {
- yychar1 = 0;
- yychar = YYEOF; /* Don't call YYLEX any more */
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Now at end of input.\n");
- #endif
- }
- else
- {
- yychar1 = YYTRANSLATE(yychar);
-
- #if YYDEBUG != 0
- if (yydebug)
- {
- fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
- /* Give the individual parser a way to print the precise meaning
- of a token, for further debugging info. */
- #ifdef YYPRINT
- YYPRINT (stderr, yychar, yylval);
- #endif
- fprintf (stderr, ")\n");
- }
- #endif
- }
-
- yyn += yychar1;
- if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
- goto yydefault;
-
- yyn = yytable[yyn];
-
- /* yyn is what to do for this token type in this state.
- Negative => reduce, -yyn is rule number.
- Positive => shift, yyn is new state.
- New state is final state => don't bother to shift,
- just return success.
- 0, or most negative number => error. */
-
- if (yyn < 0)
- {
- if (yyn == YYFLAG)
- goto yyerrlab;
- yyn = -yyn;
- goto yyreduce;
- }
- else if (yyn == 0)
- goto yyerrlab;
-
- if (yyn == YYFINAL)
- YYACCEPT;
-
- /* Shift the lookahead token. */
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
- #endif
-
- /* Discard the token being shifted unless it is eof. */
- if (yychar != YYEOF)
- yychar = YYEMPTY;
-
- *++yyvsp = yylval;
- #ifdef YYLSP_NEEDED
- *++yylsp = yylloc;
- #endif
-
- /* count tokens shifted since error; after three, turn off error status. */
- if (yyerrstatus) yyerrstatus--;
-
- yystate = yyn;
- goto yynewstate;
-
- /* Do the default action for the current state. */
- yydefault:
-
- yyn = yydefact[yystate];
- if (yyn == 0)
- goto yyerrlab;
-
- /* Do a reduction. yyn is the number of a rule to reduce with. */
- yyreduce:
- yylen = yyr2[yyn];
- if (yylen > 0)
- yyval = yyvsp[1-yylen]; /* implement default value of the action */
-
- #if YYDEBUG != 0
- if (yydebug)
- {
- int i;
-
- fprintf (stderr, "Reducing via rule %d (line %d), ",
- yyn, yyrline[yyn]);
-
- /* Print the symbols being reduced, and their result. */
- for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
- fprintf (stderr, "%s ", yytname[yyrhs[i]]);
- fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
- }
- #endif
-
-
- switch (yyn) {
-
- case 1:
- #line 231 "objc-parse.y"
- { if (pedantic)
- pedwarn ("ANSI C forbids an empty source file");
- finish_file ();
- ;
- break;}
- case 2:
- #line 236 "objc-parse.y"
- {
- /* In case there were missing closebraces,
- get us back to the global binding level. */
- while (! global_bindings_p ())
- poplevel (0, 0, 0);
- finish_file ();
- ;
- break;}
- case 3:
- #line 250 "objc-parse.y"
- {yyval.ttype = NULL_TREE; ;
- break;}
- case 5:
- #line 251 "objc-parse.y"
- {yyval.ttype = NULL_TREE; ;
- break;}
- case 10:
- #line 259 "objc-parse.y"
- { STRIP_NOPS (yyvsp[-2].ttype);
- if ((TREE_CODE (yyvsp[-2].ttype) == ADDR_EXPR
- && TREE_CODE (TREE_OPERAND (yyvsp[-2].ttype, 0)) == STRING_CST)
- || TREE_CODE (yyvsp[-2].ttype) == STRING_CST)
- assemble_asm (yyvsp[-2].ttype);
- else
- error ("argument of `asm' is not a constant string"); ;
- break;}
- case 11:
- #line 270 "objc-parse.y"
- { if (pedantic)
- error ("ANSI C forbids data definition with no type or storage class");
- else if (!flag_traditional)
- warning ("data definition has no type or storage class");
-
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 12:
- #line 280 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 13:
- #line 285 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 14:
- #line 290 "objc-parse.y"
- { pedwarn ("empty declaration"); ;
- break;}
- case 15:
- #line 292 "objc-parse.y"
- { shadow_tag (yyvsp[-1].ttype); ;
- break;}
- case 18:
- #line 296 "objc-parse.y"
- { if (pedantic)
- pedwarn ("ANSI C does not allow extra `;' outside of a function"); ;
- break;}
- case 19:
- #line 302 "objc-parse.y"
- { if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, prefix_attributes,
- NULL_TREE, 0))
- YYERROR1;
- reinit_parse_for_function (); ;
- break;}
- case 20:
- #line 307 "objc-parse.y"
- { store_parm_decls (); ;
- break;}
- case 21:
- #line 309 "objc-parse.y"
- { finish_function (0);
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-5].itype); ;
- break;}
- case 22:
- #line 315 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 23:
- #line 320 "objc-parse.y"
- { if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, prefix_attributes,
- NULL_TREE, 0))
- YYERROR1;
- reinit_parse_for_function (); ;
- break;}
- case 24:
- #line 325 "objc-parse.y"
- { store_parm_decls (); ;
- break;}
- case 25:
- #line 327 "objc-parse.y"
- { finish_function (0);
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-5].itype); ;
- break;}
- case 26:
- #line 333 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 27:
- #line 338 "objc-parse.y"
- { if (! start_function (NULL_TREE, yyvsp[0].ttype,
- prefix_attributes, NULL_TREE, 0))
- YYERROR1;
- reinit_parse_for_function (); ;
- break;}
- case 28:
- #line 343 "objc-parse.y"
- { store_parm_decls (); ;
- break;}
- case 29:
- #line 345 "objc-parse.y"
- { finish_function (0);
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-5].itype); ;
- break;}
- case 30:
- #line 351 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 35:
- #line 365 "objc-parse.y"
- { yyval.code = ADDR_EXPR; ;
- break;}
- case 36:
- #line 367 "objc-parse.y"
- { yyval.code = NEGATE_EXPR; ;
- break;}
- case 37:
- #line 369 "objc-parse.y"
- { yyval.code = CONVERT_EXPR; ;
- break;}
- case 38:
- #line 371 "objc-parse.y"
- { yyval.code = PREINCREMENT_EXPR; ;
- break;}
- case 39:
- #line 373 "objc-parse.y"
- { yyval.code = PREDECREMENT_EXPR; ;
- break;}
- case 40:
- #line 375 "objc-parse.y"
- { yyval.code = BIT_NOT_EXPR; ;
- break;}
- case 41:
- #line 377 "objc-parse.y"
- { yyval.code = TRUTH_NOT_EXPR; ;
- break;}
- case 42:
- #line 381 "objc-parse.y"
- { yyval.ttype = build_compound_expr (yyvsp[0].ttype); ;
- break;}
- case 43:
- #line 386 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 45:
- #line 392 "objc-parse.y"
- { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
- break;}
- case 46:
- #line 394 "objc-parse.y"
- { chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
- break;}
- case 48:
- #line 400 "objc-parse.y"
- { yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ;
- break;}
- case 49:
- #line 403 "objc-parse.y"
- { yyvsp[0].itype = pedantic;
- pedantic = 0; ;
- break;}
- case 50:
- #line 406 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype;
- pedantic = yyvsp[-2].itype; ;
- break;}
- case 51:
- #line 409 "objc-parse.y"
- { yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0);
- overflow_warning (yyval.ttype); ;
- break;}
- case 52:
- #line 413 "objc-parse.y"
- { tree label = lookup_label (yyvsp[0].ttype);
- if (pedantic)
- pedwarn ("ANSI C forbids `&&'");
- if (label == 0)
- yyval.ttype = null_pointer_node;
- else
- {
- TREE_USED (label) = 1;
- yyval.ttype = build1 (ADDR_EXPR, ptr_type_node, label);
- TREE_CONSTANT (yyval.ttype) = 1;
- }
- ;
- break;}
- case 53:
- #line 441 "objc-parse.y"
- { if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF
- && DECL_BIT_FIELD (TREE_OPERAND (yyvsp[0].ttype, 1)))
- error ("`sizeof' applied to a bit-field");
- yyval.ttype = c_sizeof (TREE_TYPE (yyvsp[0].ttype)); ;
- break;}
- case 54:
- #line 446 "objc-parse.y"
- { yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ;
- break;}
- case 55:
- #line 448 "objc-parse.y"
- { yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ;
- break;}
- case 56:
- #line 450 "objc-parse.y"
- { yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ;
- break;}
- case 57:
- #line 452 "objc-parse.y"
- { yyval.ttype = build_unary_op (REALPART_EXPR, yyvsp[0].ttype, 0); ;
- break;}
- case 58:
- #line 454 "objc-parse.y"
- { yyval.ttype = build_unary_op (IMAGPART_EXPR, yyvsp[0].ttype, 0); ;
- break;}
- case 60:
- #line 460 "objc-parse.y"
- { tree type = groktypename (yyvsp[-2].ttype);
- yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ;
- break;}
- case 61:
- #line 463 "objc-parse.y"
- { start_init (NULL_TREE, NULL, 0);
- yyvsp[-2].ttype = groktypename (yyvsp[-2].ttype);
- really_start_incremental_init (yyvsp[-2].ttype); ;
- break;}
- case 62:
- #line 467 "objc-parse.y"
- { char *name;
- tree result = pop_init_level (0);
- tree type = yyvsp[-5].ttype;
- finish_init ();
-
- if (pedantic)
- pedwarn ("ANSI C forbids constructor expressions");
- if (TYPE_NAME (type) != 0)
- {
- if (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE)
- name = IDENTIFIER_POINTER (TYPE_NAME (type));
- else
- name = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (type)));
- }
- else
- name = "";
- yyval.ttype = result;
- if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0)
- {
- int failure = complete_array_type (type, yyval.ttype, 1);
- if (failure)
- abort ();
- }
- ;
- break;}
- case 64:
- #line 496 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 65:
- #line 498 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 66:
- #line 500 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 67:
- #line 502 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 68:
- #line 504 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 69:
- #line 506 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 70:
- #line 508 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 71:
- #line 510 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 72:
- #line 512 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 73:
- #line 514 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 74:
- #line 516 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 75:
- #line 518 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 76:
- #line 520 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 77:
- #line 522 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 78:
- #line 524 "objc-parse.y"
- { yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 79:
- #line 526 "objc-parse.y"
- { yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype);
- C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); ;
- break;}
- case 80:
- #line 529 "objc-parse.y"
- { yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype);
- /* This inhibits warnings in truthvalue_conversion. */
- C_SET_EXP_ORIGINAL_CODE (yyval.ttype, ERROR_MARK); ;
- break;}
- case 81:
- #line 536 "objc-parse.y"
- {
- yyval.ttype = lastiddecl;
- if (!yyval.ttype || yyval.ttype == error_mark_node)
- {
- if (yychar == YYEMPTY)
- yychar = YYLEX;
- if (yychar == '(')
- {
- tree decl;
-
- if (objc_receiver_context
- && ! (objc_receiver_context
- && strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "super")))
- /* we have a message to super */
- yyval.ttype = get_super_receiver ();
- else if (objc_method_context
- && (decl = is_ivar (objc_ivar_chain, yyvsp[0].ttype)))
- {
- if (is_private (decl))
- yyval.ttype = error_mark_node;
- else
- yyval.ttype = build_ivar_reference (yyvsp[0].ttype);
- }
- else
- {
- /* Ordinary implicit function declaration. */
- yyval.ttype = implicitly_declare (yyvsp[0].ttype);
- assemble_external (yyval.ttype);
- TREE_USED (yyval.ttype) = 1;
- }
- }
- else if (current_function_decl == 0)
- {
- error ("`%s' undeclared here (not in a function)",
- IDENTIFIER_POINTER (yyvsp[0].ttype));
- yyval.ttype = error_mark_node;
- }
- else
- {
- tree decl;
-
- if (objc_receiver_context
- && ! strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "super"))
- /* we have a message to super */
- yyval.ttype = get_super_receiver ();
- else if (objc_method_context
- && (decl = is_ivar (objc_ivar_chain, yyvsp[0].ttype)))
- {
- if (is_private (decl))
- yyval.ttype = error_mark_node;
- else
- yyval.ttype = build_ivar_reference (yyvsp[0].ttype);
- }
- else
- {
- if (IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) != error_mark_node
- || IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) != current_function_decl)
- {
- error ("`%s' undeclared (first use this function)",
- IDENTIFIER_POINTER (yyvsp[0].ttype));
-
- if (! undeclared_variable_notice)
- {
- error ("(Each undeclared identifier is reported only once");
- error ("for each function it appears in.)");
- undeclared_variable_notice = 1;
- }
- }
- yyval.ttype = error_mark_node;
- /* Prevent repeated error messages. */
- IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) = error_mark_node;
- IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) = current_function_decl;
- }
- }
- }
- else if (TREE_TYPE (yyval.ttype) == error_mark_node)
- yyval.ttype = error_mark_node;
- else if (C_DECL_ANTICIPATED (yyval.ttype))
- {
- /* The first time we see a build-in function used,
- if it has not been declared. */
- C_DECL_ANTICIPATED (yyval.ttype) = 0;
- if (yychar == YYEMPTY)
- yychar = YYLEX;
- if (yychar == '(')
- {
- /* Omit the implicit declaration we
- would ordinarily do, so we don't lose
- the actual built in type.
- But print a diagnostic for the mismatch. */
- if (objc_method_context
- && is_ivar (objc_ivar_chain, yyvsp[0].ttype))
- error ("Instance variable `%s' implicitly declared as function",
- IDENTIFIER_POINTER (DECL_NAME (yyval.ttype)));
- else
- if (TREE_CODE (yyval.ttype) != FUNCTION_DECL)
- error ("`%s' implicitly declared as function",
- IDENTIFIER_POINTER (DECL_NAME (yyval.ttype)));
- else if ((TYPE_MODE (TREE_TYPE (TREE_TYPE (yyval.ttype)))
- != TYPE_MODE (integer_type_node))
- && (TREE_TYPE (TREE_TYPE (yyval.ttype))
- != void_type_node))
- pedwarn ("type mismatch in implicit declaration for built-in function `%s'",
- IDENTIFIER_POINTER (DECL_NAME (yyval.ttype)));
- /* If it really returns void, change that to int. */
- if (TREE_TYPE (TREE_TYPE (yyval.ttype)) == void_type_node)
- TREE_TYPE (yyval.ttype)
- = build_function_type (integer_type_node,
- TYPE_ARG_TYPES (TREE_TYPE (yyval.ttype)));
- }
- else
- pedwarn ("built-in function `%s' used without declaration",
- IDENTIFIER_POINTER (DECL_NAME (yyval.ttype)));
-
- /* Do what we would ordinarily do when a fn is used. */
- assemble_external (yyval.ttype);
- TREE_USED (yyval.ttype) = 1;
- }
- else
- {
- assemble_external (yyval.ttype);
- TREE_USED (yyval.ttype) = 1;
- /* we have a definition - still check if iVariable */
-
- if (!objc_receiver_context
- || (objc_receiver_context
- && strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "super")))
- {
- tree decl;
-
- if (objc_method_context
- && (decl = is_ivar (objc_ivar_chain, yyvsp[0].ttype)))
- {
- if (IDENTIFIER_LOCAL_VALUE (yyvsp[0].ttype))
- warning ("local declaration of `%s' hides instance variable",
- IDENTIFIER_POINTER (yyvsp[0].ttype));
- else
- {
- if (is_private (decl))
- yyval.ttype = error_mark_node;
- else
- yyval.ttype = build_ivar_reference (yyvsp[0].ttype);
- }
- }
- }
- else /* we have a message to super */
- yyval.ttype = get_super_receiver ();
- }
-
- if (TREE_CODE (yyval.ttype) == CONST_DECL)
- {
- yyval.ttype = DECL_INITIAL (yyval.ttype);
- /* This is to prevent an enum whose value is 0
- from being considered a null pointer constant. */
- yyval.ttype = build1 (NOP_EXPR, TREE_TYPE (yyval.ttype), yyval.ttype);
- TREE_CONSTANT (yyval.ttype) = 1;
- }
- ;
- break;}
- case 83:
- #line 696 "objc-parse.y"
- { yyval.ttype = combine_strings (yyvsp[0].ttype); ;
- break;}
- case 84:
- #line 698 "objc-parse.y"
- { char class = TREE_CODE_CLASS (TREE_CODE (yyvsp[-1].ttype));
- if (class == 'e' || class == '1'
- || class == '2' || class == '<')
- C_SET_EXP_ORIGINAL_CODE (yyvsp[-1].ttype, ERROR_MARK);
- yyval.ttype = yyvsp[-1].ttype; ;
- break;}
- case 85:
- #line 704 "objc-parse.y"
- { yyval.ttype = error_mark_node; ;
- break;}
- case 86:
- #line 706 "objc-parse.y"
- { if (current_function_decl == 0)
- {
- error ("braced-group within expression allowed only inside a function");
- YYERROR;
- }
- /* We must force a BLOCK for this level
- so that, if it is not expanded later,
- there is a way to turn off the entire subtree of blocks
- that are contained in it. */
- keep_next_level ();
- push_iterator_stack ();
- push_label_level ();
- yyval.ttype = expand_start_stmt_expr (); ;
- break;}
- case 87:
- #line 720 "objc-parse.y"
- { tree rtl_exp;
- if (pedantic)
- pedwarn ("ANSI C forbids braced-groups within expressions");
- pop_iterator_stack ();
- pop_label_level ();
- rtl_exp = expand_end_stmt_expr (yyvsp[-2].ttype);
- /* The statements have side effects, so the group does. */
- TREE_SIDE_EFFECTS (rtl_exp) = 1;
-
- if (TREE_CODE (yyvsp[-1].ttype) == BLOCK)
- {
- /* Make a BIND_EXPR for the BLOCK already made. */
- yyval.ttype = build (BIND_EXPR, TREE_TYPE (rtl_exp),
- NULL_TREE, rtl_exp, yyvsp[-1].ttype);
- /* Remove the block from the tree at this point.
- It gets put back at the proper place
- when the BIND_EXPR is expanded. */
- delete_block (yyvsp[-1].ttype);
- }
- else
- yyval.ttype = yyvsp[-1].ttype;
- ;
- break;}
- case 88:
- #line 743 "objc-parse.y"
- { yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 89:
- #line 745 "objc-parse.y"
- { yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 90:
- #line 747 "objc-parse.y"
- {
- if (doing_objc_thang)
- {
- if (is_public (yyvsp[-2].ttype, yyvsp[0].ttype))
- yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype);
- else
- yyval.ttype = error_mark_node;
- }
- else
- yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 91:
- #line 759 "objc-parse.y"
- {
- tree expr = build_indirect_ref (yyvsp[-2].ttype, "->");
-
- if (doing_objc_thang)
- {
- if (is_public (expr, yyvsp[0].ttype))
- yyval.ttype = build_component_ref (expr, yyvsp[0].ttype);
- else
- yyval.ttype = error_mark_node;
- }
- else
- yyval.ttype = build_component_ref (expr, yyvsp[0].ttype);
- ;
- break;}
- case 92:
- #line 773 "objc-parse.y"
- { yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ;
- break;}
- case 93:
- #line 775 "objc-parse.y"
- { yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ;
- break;}
- case 94:
- #line 777 "objc-parse.y"
- { yyval.ttype = build_message_expr (yyvsp[0].ttype); ;
- break;}
- case 95:
- #line 779 "objc-parse.y"
- { yyval.ttype = build_selector_expr (yyvsp[0].ttype); ;
- break;}
- case 96:
- #line 781 "objc-parse.y"
- { yyval.ttype = build_protocol_expr (yyvsp[0].ttype); ;
- break;}
- case 97:
- #line 783 "objc-parse.y"
- { yyval.ttype = build_encode_expr (yyvsp[0].ttype); ;
- break;}
- case 98:
- #line 785 "objc-parse.y"
- { yyval.ttype = build_objc_string_object (yyvsp[0].ttype); ;
- break;}
- case 100:
- #line 792 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 102:
- #line 800 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 105:
- #line 808 "objc-parse.y"
- { c_mark_varargs ();
- if (pedantic)
- pedwarn ("ANSI C does not permit use of `varargs.h'"); ;
- break;}
- case 106:
- #line 818 "objc-parse.y"
- { ;
- break;}
- case 111:
- #line 830 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 112:
- #line 835 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 113:
- #line 840 "objc-parse.y"
- { shadow_tag_warned (yyvsp[-1].ttype, 1);
- pedwarn ("empty declaration"); ;
- break;}
- case 114:
- #line 843 "objc-parse.y"
- { pedwarn ("empty declaration"); ;
- break;}
- case 115:
- #line 852 "objc-parse.y"
- { ;
- break;}
- case 120:
- #line 867 "objc-parse.y"
- { yyval.itype = suspend_momentary ();
- pending_xref_error ();
- declspec_stack = tree_cons (prefix_attributes,
- current_declspecs,
- declspec_stack);
- current_declspecs = yyvsp[0].ttype;
- prefix_attributes = NULL_TREE; ;
- break;}
- case 121:
- #line 877 "objc-parse.y"
- { prefix_attributes = chainon (prefix_attributes, yyvsp[0].ttype); ;
- break;}
- case 122:
- #line 882 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 123:
- #line 887 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 124:
- #line 892 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-1].itype); ;
- break;}
- case 125:
- #line 897 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-1].itype); ;
- break;}
- case 126:
- #line 902 "objc-parse.y"
- { shadow_tag (yyvsp[-1].ttype); ;
- break;}
- case 127:
- #line 904 "objc-parse.y"
- { pedwarn ("empty declaration"); ;
- break;}
- case 128:
- #line 913 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 129:
- #line 915 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
- break;}
- case 130:
- #line 919 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 131:
- #line 921 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
- break;}
- case 132:
- #line 923 "objc-parse.y"
- { if (extra_warnings)
- warning ("`%s' is not at beginning of declaration",
- IDENTIFIER_POINTER (yyvsp[0].ttype));
- yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
- break;}
- case 133:
- #line 935 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE);
- TREE_STATIC (yyval.ttype) = 1; ;
- break;}
- case 134:
- #line 938 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 135:
- #line 940 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype);
- TREE_STATIC (yyval.ttype) = 1; ;
- break;}
- case 136:
- #line 943 "objc-parse.y"
- { if (extra_warnings && TREE_STATIC (yyvsp[-1].ttype))
- warning ("`%s' is not at beginning of declaration",
- IDENTIFIER_POINTER (yyvsp[0].ttype));
- yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype);
- TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;
- break;}
- case 137:
- #line 957 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 138:
- #line 959 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
- break;}
- case 139:
- #line 963 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 140:
- #line 965 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
- break;}
- case 143:
- #line 975 "objc-parse.y"
- { /* For a typedef name, record the meaning, not the name.
- In case of `foo foo, bar;'. */
- yyval.ttype = lookup_name (yyvsp[0].ttype); ;
- break;}
- case 144:
- #line 979 "objc-parse.y"
- { yyval.ttype = get_static_reference (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 145:
- #line 981 "objc-parse.y"
- { yyval.ttype = get_object_reference (yyvsp[0].ttype); ;
- break;}
- case 146:
- #line 983 "objc-parse.y"
- { yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ;
- break;}
- case 147:
- #line 985 "objc-parse.y"
- { yyval.ttype = groktypename (yyvsp[-1].ttype); ;
- break;}
- case 155:
- #line 1007 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 156:
- #line 1009 "objc-parse.y"
- { if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype);
- yyval.ttype = yyvsp[-1].ttype;
- ;
- break;}
- case 157:
- #line 1016 "objc-parse.y"
- { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1,
- yyvsp[-1].ttype, prefix_attributes);
- start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;
- break;}
- case 158:
- #line 1021 "objc-parse.y"
- { finish_init ();
- finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
- break;}
- case 159:
- #line 1024 "objc-parse.y"
- { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0,
- yyvsp[0].ttype, prefix_attributes);
- finish_decl (d, NULL_TREE, yyvsp[-1].ttype);
- ;
- break;}
- case 160:
- #line 1032 "objc-parse.y"
- { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1,
- yyvsp[-1].ttype, prefix_attributes);
- start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;
- break;}
- case 161:
- #line 1037 "objc-parse.y"
- { finish_init ();
- decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype, prefix_attributes);
- finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
- break;}
- case 162:
- #line 1041 "objc-parse.y"
- { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0,
- yyvsp[0].ttype, prefix_attributes);
- finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ;
- break;}
- case 163:
- #line 1049 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 164:
- #line 1051 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 165:
- #line 1056 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 166:
- #line 1058 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 167:
- #line 1063 "objc-parse.y"
- { yyval.ttype = yyvsp[-2].ttype; ;
- break;}
- case 168:
- #line 1068 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 169:
- #line 1070 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 170:
- #line 1075 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 171:
- #line 1077 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 172:
- #line 1079 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-3].ttype, build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ;
- break;}
- case 173:
- #line 1081 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-5].ttype, tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ;
- break;}
- case 174:
- #line 1083 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 180:
- #line 1101 "objc-parse.y"
- { really_start_incremental_init (NULL_TREE);
- /* Note that the call to clear_momentary
- is in process_init_element. */
- push_momentary (); ;
- break;}
- case 181:
- #line 1106 "objc-parse.y"
- { yyval.ttype = pop_init_level (0);
- if (yyval.ttype == error_mark_node
- && ! (yychar == STRING || yychar == CONSTANT))
- pop_momentary ();
- else
- pop_momentary_nofree (); ;
- break;}
- case 182:
- #line 1114 "objc-parse.y"
- { yyval.ttype = error_mark_node; ;
- break;}
- case 183:
- #line 1120 "objc-parse.y"
- { if (pedantic)
- pedwarn ("ANSI C forbids empty initializer braces"); ;
- break;}
- case 187:
- #line 1134 "objc-parse.y"
- { process_init_element (yyvsp[0].ttype); ;
- break;}
- case 188:
- #line 1136 "objc-parse.y"
- { push_init_level (0); ;
- break;}
- case 189:
- #line 1138 "objc-parse.y"
- { process_init_element (pop_init_level (0)); ;
- break;}
- case 191:
- #line 1144 "objc-parse.y"
- { set_init_label (yyvsp[-1].ttype); ;
- break;}
- case 193:
- #line 1147 "objc-parse.y"
- { set_init_label (yyvsp[-1].ttype); ;
- break;}
- case 195:
- #line 1153 "objc-parse.y"
- { push_c_function_context ();
- if (! start_function (current_declspecs, yyvsp[0].ttype,
- prefix_attributes, NULL_TREE, 1))
- {
- pop_c_function_context ();
- YYERROR1;
- }
- reinit_parse_for_function (); ;
- break;}
- case 196:
- #line 1162 "objc-parse.y"
- { store_parm_decls (); ;
- break;}
- case 197:
- #line 1170 "objc-parse.y"
- { finish_function (1);
- pop_c_function_context (); ;
- break;}
- case 198:
- #line 1176 "objc-parse.y"
- { push_c_function_context ();
- if (! start_function (current_declspecs, yyvsp[0].ttype,
- prefix_attributes, NULL_TREE, 1))
- {
- pop_c_function_context ();
- YYERROR1;
- }
- reinit_parse_for_function (); ;
- break;}
- case 199:
- #line 1185 "objc-parse.y"
- { store_parm_decls (); ;
- break;}
- case 200:
- #line 1193 "objc-parse.y"
- { finish_function (1);
- pop_c_function_context (); ;
- break;}
- case 203:
- #line 1209 "objc-parse.y"
- { yyval.ttype = yyvsp[-1].ttype; ;
- break;}
- case 204:
- #line 1211 "objc-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 205:
- #line 1216 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 206:
- #line 1218 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
- break;}
- case 207:
- #line 1220 "objc-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 208:
- #line 1222 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 211:
- #line 1234 "objc-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 212:
- #line 1239 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 213:
- #line 1241 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
- break;}
- case 214:
- #line 1243 "objc-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 215:
- #line 1245 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 217:
- #line 1254 "objc-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 218:
- #line 1259 "objc-parse.y"
- { yyval.ttype = yyvsp[-1].ttype; ;
- break;}
- case 219:
- #line 1261 "objc-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 220:
- #line 1263 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 221:
- #line 1265 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
- break;}
- case 222:
- #line 1267 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 224:
- #line 1273 "objc-parse.y"
- { yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype);
- /* Start scope of tag before parsing components. */
- ;
- break;}
- case 225:
- #line 1277 "objc-parse.y"
- { yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 226:
- #line 1279 "objc-parse.y"
- { yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE),
- yyvsp[-2].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 227:
- #line 1283 "objc-parse.y"
- { yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ;
- break;}
- case 228:
- #line 1285 "objc-parse.y"
- { yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ;
- break;}
- case 229:
- #line 1287 "objc-parse.y"
- { yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 230:
- #line 1289 "objc-parse.y"
- { yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE),
- yyvsp[-2].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 231:
- #line 1293 "objc-parse.y"
- { yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ;
- break;}
- case 232:
- #line 1295 "objc-parse.y"
- { yyvsp[0].itype = suspend_momentary ();
- yyval.ttype = start_enum (yyvsp[-1].ttype); ;
- break;}
- case 233:
- #line 1298 "objc-parse.y"
- { yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype);
- resume_momentary (yyvsp[-5].itype); ;
- break;}
- case 234:
- #line 1301 "objc-parse.y"
- { yyvsp[0].itype = suspend_momentary ();
- yyval.ttype = start_enum (NULL_TREE); ;
- break;}
- case 235:
- #line 1304 "objc-parse.y"
- { yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype);
- resume_momentary (yyvsp[-5].itype); ;
- break;}
- case 236:
- #line 1307 "objc-parse.y"
- { yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ;
- break;}
- case 240:
- #line 1318 "objc-parse.y"
- { if (pedantic) pedwarn ("comma at end of enumerator list"); ;
- break;}
- case 241:
- #line 1323 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 242:
- #line 1325 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
- pedwarn ("no semicolon at end of struct or union"); ;
- break;}
- case 243:
- #line 1330 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 244:
- #line 1332 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ;
- break;}
- case 245:
- #line 1334 "objc-parse.y"
- { if (pedantic)
- pedwarn ("extra semicolon in struct or union specified"); ;
- break;}
- case 246:
- #line 1338 "objc-parse.y"
- {
- tree interface = lookup_interface (yyvsp[-1].ttype);
-
- if (interface)
- yyval.ttype = get_class_ivars (interface);
- else
- {
- error ("Cannot find interface declaration for `%s'",
- IDENTIFIER_POINTER (yyvsp[-1].ttype));
- yyval.ttype = NULL_TREE;
- }
- ;
- break;}
- case 247:
- #line 1363 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype;
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-1].itype); ;
- break;}
- case 248:
- #line 1369 "objc-parse.y"
- { if (pedantic)
- pedwarn ("ANSI C forbids member declarations with no members");
- shadow_tag(yyvsp[0].ttype);
- yyval.ttype = NULL_TREE; ;
- break;}
- case 249:
- #line 1374 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype;
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-1].itype); ;
- break;}
- case 250:
- #line 1380 "objc-parse.y"
- { if (pedantic)
- pedwarn ("ANSI C forbids member declarations with no members");
- shadow_tag(yyvsp[0].ttype);
- yyval.ttype = NULL_TREE; ;
- break;}
- case 251:
- #line 1385 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 253:
- #line 1391 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 254:
- #line 1396 "objc-parse.y"
- { yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-1].ttype, current_declspecs, NULL_TREE);
- decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
- break;}
- case 255:
- #line 1400 "objc-parse.y"
- { yyval.ttype = grokfield (yyvsp[-5].filename, yyvsp[-4].lineno, yyvsp[-3].ttype, current_declspecs, yyvsp[-1].ttype);
- decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
- break;}
- case 256:
- #line 1403 "objc-parse.y"
- { yyval.ttype = grokfield (yyvsp[-4].filename, yyvsp[-3].lineno, NULL_TREE, current_declspecs, yyvsp[-1].ttype);
- decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
- break;}
- case 258:
- #line 1415 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ;
- break;}
- case 259:
- #line 1417 "objc-parse.y"
- { yyval.ttype = error_mark_node; ;
- break;}
- case 260:
- #line 1423 "objc-parse.y"
- { yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 261:
- #line 1425 "objc-parse.y"
- { yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 262:
- #line 1430 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 263:
- #line 1432 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 264:
- #line 1437 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 266:
- #line 1443 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 267:
- #line 1445 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
- break;}
- case 268:
- #line 1450 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 269:
- #line 1452 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
- break;}
- case 270:
- #line 1457 "objc-parse.y"
- { yyval.ttype = yyvsp[-1].ttype; ;
- break;}
- case 271:
- #line 1460 "objc-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 272:
- #line 1462 "objc-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 273:
- #line 1464 "objc-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 274:
- #line 1466 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 275:
- #line 1468 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
- break;}
- case 276:
- #line 1470 "objc-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 277:
- #line 1472 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ;
- break;}
- case 278:
- #line 1474 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ;
- break;}
- case 279:
- #line 1476 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 286:
- #line 1498 "objc-parse.y"
- { emit_line_note (input_filename, lineno);
- pushlevel (0);
- clear_last_expr ();
- push_momentary ();
- expand_start_bindings (0);
- if (objc_method_context)
- add_objc_decls ();
- ;
- break;}
- case 288:
- #line 1513 "objc-parse.y"
- { if (pedantic)
- pedwarn ("ANSI C forbids label declarations"); ;
- break;}
- case 291:
- #line 1524 "objc-parse.y"
- { tree link;
- for (link = yyvsp[-1].ttype; link; link = TREE_CHAIN (link))
- {
- tree label = shadow_label (TREE_VALUE (link));
- C_DECLARED_LABEL_FLAG (label) = 1;
- declare_nonlocal_label (label);
- }
- ;
- break;}
- case 292:
- #line 1538 "objc-parse.y"
- {;
- break;}
- case 294:
- #line 1543 "objc-parse.y"
- { yyval.ttype = convert (void_type_node, integer_zero_node); ;
- break;}
- case 295:
- #line 1545 "objc-parse.y"
- { emit_line_note (input_filename, lineno);
- expand_end_bindings (getdecls (), 1, 0);
- yyval.ttype = poplevel (1, 1, 0);
- if (yychar == CONSTANT || yychar == STRING)
- pop_momentary_nofree ();
- else
- pop_momentary (); ;
- break;}
- case 296:
- #line 1553 "objc-parse.y"
- { emit_line_note (input_filename, lineno);
- expand_end_bindings (getdecls (), kept_level_p (), 0);
- yyval.ttype = poplevel (kept_level_p (), 0, 0);
- if (yychar == CONSTANT || yychar == STRING)
- pop_momentary_nofree ();
- else
- pop_momentary (); ;
- break;}
- case 297:
- #line 1561 "objc-parse.y"
- { emit_line_note (input_filename, lineno);
- expand_end_bindings (getdecls (), kept_level_p (), 0);
- yyval.ttype = poplevel (kept_level_p (), 0, 0);
- if (yychar == CONSTANT || yychar == STRING)
- pop_momentary_nofree ();
- else
- pop_momentary (); ;
- break;}
- case 300:
- #line 1581 "objc-parse.y"
- { emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
- expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0);
- yyval.itype = stmt_count;
- if_stmt_file = yyvsp[-5].filename;
- if_stmt_line = yyvsp[-4].lineno;
- position_after_white_space (); ;
- break;}
- case 301:
- #line 1594 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno);
- /* See comment in `while' alternative, above. */
- emit_nop ();
- expand_start_loop_continue_elsewhere (1);
- position_after_white_space (); ;
- break;}
- case 302:
- #line 1601 "objc-parse.y"
- { expand_loop_continue_here (); ;
- break;}
- case 303:
- #line 1605 "objc-parse.y"
- { yyval.filename = input_filename; ;
- break;}
- case 304:
- #line 1609 "objc-parse.y"
- { yyval.lineno = lineno; ;
- break;}
- case 305:
- #line 1614 "objc-parse.y"
- { ;
- break;}
- case 306:
- #line 1619 "objc-parse.y"
- { ;
- break;}
- case 307:
- #line 1624 "objc-parse.y"
- { ;
- break;}
- case 309:
- #line 1630 "objc-parse.y"
- { int next;
- position_after_white_space ();
- next = getc (finput);
- ungetc (next, finput);
- if (pedantic && next == '}')
- pedwarn ("ANSI C forbids label at end of compound statement");
- ;
- break;}
- case 310:
- #line 1642 "objc-parse.y"
- { stmt_count++; ;
- break;}
- case 312:
- #line 1645 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
- /* It appears that this should not be done--that a non-lvalue array
- shouldn't get an error if the value isn't used.
- Section 3.2.2.1 says that an array lvalue gets converted to a pointer
- if it appears as a top-level expression,
- but says nothing about non-lvalue arrays. */
- #if 0
- /* Call default_conversion to get an error
- on referring to a register array if pedantic. */
- if (TREE_CODE (TREE_TYPE (yyvsp[-1].ttype)) == ARRAY_TYPE
- || TREE_CODE (TREE_TYPE (yyvsp[-1].ttype)) == FUNCTION_TYPE)
- yyvsp[-1].ttype = default_conversion (yyvsp[-1].ttype);
- #endif
- iterator_expand (yyvsp[-1].ttype);
- clear_momentary (); ;
- break;}
- case 313:
- #line 1662 "objc-parse.y"
- { expand_start_else ();
- yyvsp[-1].itype = stmt_count;
- position_after_white_space (); ;
- break;}
- case 314:
- #line 1666 "objc-parse.y"
- { expand_end_cond ();
- if (extra_warnings && stmt_count == yyvsp[-3].itype)
- warning ("empty body in an else-statement"); ;
- break;}
- case 315:
- #line 1670 "objc-parse.y"
- { expand_end_cond ();
- /* This warning is here instead of in simple_if, because we
- do not want a warning if an empty if is followed by an
- else statement. Increment stmt_count so we don't
- give a second error if this is a nested `if'. */
- if (extra_warnings && stmt_count++ == yyvsp[0].itype)
- warning_with_file_and_line (if_stmt_file, if_stmt_line,
- "empty body in an if-statement"); ;
- break;}
- case 316:
- #line 1682 "objc-parse.y"
- { expand_end_cond (); ;
- break;}
- case 317:
- #line 1684 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno);
- /* The emit_nop used to come before emit_line_note,
- but that made the nop seem like part of the preceding line.
- And that was confusing when the preceding line was
- inside of an if statement and was not really executed.
- I think it ought to work to put the nop after the line number.
- We will see. --rms, July 15, 1991. */
- emit_nop (); ;
- break;}
- case 318:
- #line 1694 "objc-parse.y"
- { /* Don't start the loop till we have succeeded
- in parsing the end test. This is to make sure
- that we end every loop we start. */
- expand_start_loop (1);
- emit_line_note (input_filename, lineno);
- expand_exit_loop_if_false (NULL_PTR,
- truthvalue_conversion (yyvsp[-1].ttype));
- position_after_white_space (); ;
- break;}
- case 319:
- #line 1703 "objc-parse.y"
- { expand_end_loop (); ;
- break;}
- case 320:
- #line 1706 "objc-parse.y"
- { emit_line_note (input_filename, lineno);
- expand_exit_loop_if_false (NULL_PTR,
- truthvalue_conversion (yyvsp[-2].ttype));
- expand_end_loop ();
- clear_momentary (); ;
- break;}
- case 321:
- #line 1713 "objc-parse.y"
- { expand_end_loop ();
- clear_momentary (); ;
- break;}
- case 322:
- #line 1717 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
- /* See comment in `while' alternative, above. */
- emit_nop ();
- if (yyvsp[-1].ttype) c_expand_expr_stmt (yyvsp[-1].ttype);
- /* Next step is to call expand_start_loop_continue_elsewhere,
- but wait till after we parse the entire for (...).
- Otherwise, invalid input might cause us to call that
- fn without calling expand_end_loop. */
- ;
- break;}
- case 323:
- #line 1729 "objc-parse.y"
- { yyvsp[0].lineno = lineno;
- yyval.filename = input_filename; ;
- break;}
- case 324:
- #line 1732 "objc-parse.y"
- {
- /* Start the loop. Doing this after parsing
- all the expressions ensures we will end the loop. */
- expand_start_loop_continue_elsewhere (1);
- /* Emit the end-test, with a line number. */
- emit_line_note (yyvsp[-2].filename, yyvsp[-3].lineno);
- if (yyvsp[-4].ttype)
- expand_exit_loop_if_false (NULL_PTR,
- truthvalue_conversion (yyvsp[-4].ttype));
- /* Don't let the tree nodes for $9 be discarded by
- clear_momentary during the parsing of the next stmt. */
- push_momentary ();
- yyvsp[-3].lineno = lineno;
- yyvsp[-2].filename = input_filename;
- position_after_white_space (); ;
- break;}
- case 325:
- #line 1748 "objc-parse.y"
- { /* Emit the increment expression, with a line number. */
- emit_line_note (yyvsp[-4].filename, yyvsp[-5].lineno);
- expand_loop_continue_here ();
- if (yyvsp[-3].ttype)
- c_expand_expr_stmt (yyvsp[-3].ttype);
- if (yychar == CONSTANT || yychar == STRING)
- pop_momentary_nofree ();
- else
- pop_momentary ();
- expand_end_loop (); ;
- break;}
- case 326:
- #line 1759 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
- c_expand_start_case (yyvsp[-1].ttype);
- /* Don't let the tree nodes for $3 be discarded by
- clear_momentary during the parsing of the next stmt. */
- push_momentary ();
- position_after_white_space (); ;
- break;}
- case 327:
- #line 1767 "objc-parse.y"
- { expand_end_case (yyvsp[-3].ttype);
- if (yychar == CONSTANT || yychar == STRING)
- pop_momentary_nofree ();
- else
- pop_momentary (); ;
- break;}
- case 328:
- #line 1773 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
- if ( ! expand_exit_something ())
- error ("break statement not within loop or switch"); ;
- break;}
- case 329:
- #line 1778 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
- if (! expand_continue_loop (NULL_PTR))
- error ("continue statement not within a loop"); ;
- break;}
- case 330:
- #line 1783 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
- c_expand_return (NULL_TREE); ;
- break;}
- case 331:
- #line 1787 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
- c_expand_return (yyvsp[-1].ttype); ;
- break;}
- case 332:
- #line 1791 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-7].filename, yyvsp[-6].lineno);
- STRIP_NOPS (yyvsp[-2].ttype);
- if ((TREE_CODE (yyvsp[-2].ttype) == ADDR_EXPR
- && TREE_CODE (TREE_OPERAND (yyvsp[-2].ttype, 0)) == STRING_CST)
- || TREE_CODE (yyvsp[-2].ttype) == STRING_CST)
- expand_asm (yyvsp[-2].ttype);
- else
- error ("argument of `asm' is not a constant string"); ;
- break;}
- case 333:
- #line 1802 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-9].filename, yyvsp[-8].lineno);
- c_expand_asm_operands (yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, NULL_TREE,
- yyvsp[-6].ttype == ridpointers[(int)RID_VOLATILE],
- input_filename, lineno); ;
- break;}
- case 334:
- #line 1809 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-11].filename, yyvsp[-10].lineno);
- c_expand_asm_operands (yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE,
- yyvsp[-8].ttype == ridpointers[(int)RID_VOLATILE],
- input_filename, lineno); ;
- break;}
- case 335:
- #line 1817 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-13].filename, yyvsp[-12].lineno);
- c_expand_asm_operands (yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype,
- yyvsp[-10].ttype == ridpointers[(int)RID_VOLATILE],
- input_filename, lineno); ;
- break;}
- case 336:
- #line 1823 "objc-parse.y"
- { tree decl;
- stmt_count++;
- emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
- decl = lookup_label (yyvsp[-1].ttype);
- if (decl != 0)
- {
- TREE_USED (decl) = 1;
- expand_goto (decl);
- }
- ;
- break;}
- case 337:
- #line 1834 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
- expand_computed_goto (convert (ptr_type_node, yyvsp[-1].ttype)); ;
- break;}
- case 340:
- #line 1847 "objc-parse.y"
- {
- /* The value returned by this action is */
- /* 1 if everything is OK */
- /* 0 in case of error or already bound iterator */
-
- yyval.itype = 0;
- if (TREE_CODE (yyvsp[-1].ttype) != VAR_DECL)
- error ("invalid `for (ITERATOR)' syntax");
- else if (! ITERATOR_P (yyvsp[-1].ttype))
- error ("`%s' is not an iterator",
- IDENTIFIER_POINTER (DECL_NAME (yyvsp[-1].ttype)));
- else if (ITERATOR_BOUND_P (yyvsp[-1].ttype))
- error ("`for (%s)' inside expansion of same iterator",
- IDENTIFIER_POINTER (DECL_NAME (yyvsp[-1].ttype)));
- else
- {
- yyval.itype = 1;
- iterator_for_loop_start (yyvsp[-1].ttype);
- }
- ;
- break;}
- case 341:
- #line 1868 "objc-parse.y"
- {
- if (yyvsp[-1].itype)
- iterator_for_loop_end (yyvsp[-3].ttype);
- ;
- break;}
- case 342:
- #line 1903 "objc-parse.y"
- { register tree value = check_case_value (yyvsp[-1].ttype);
- register tree label
- = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
-
- stmt_count++;
-
- if (value != error_mark_node)
- {
- tree duplicate;
- int success = pushcase (value, convert_and_check,
- label, &duplicate);
- if (success == 1)
- error ("case label not within a switch statement");
- else if (success == 2)
- {
- error ("duplicate case value");
- error_with_decl (duplicate, "this is the first entry for that value");
- }
- else if (success == 3)
- warning ("case value out of range");
- else if (success == 5)
- error ("case label within scope of cleanup or variable array");
- }
- position_after_white_space (); ;
- break;}
- case 343:
- #line 1928 "objc-parse.y"
- { register tree value1 = check_case_value (yyvsp[-3].ttype);
- register tree value2 = check_case_value (yyvsp[-1].ttype);
- register tree label
- = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
-
- stmt_count++;
-
- if (value1 != error_mark_node && value2 != error_mark_node)
- {
- tree duplicate;
- int success = pushcase_range (value1, value2,
- convert_and_check, label,
- &duplicate);
- if (success == 1)
- error ("case label not within a switch statement");
- else if (success == 2)
- {
- error ("duplicate case value");
- error_with_decl (duplicate, "this is the first entry for that value");
- }
- else if (success == 3)
- warning ("case value out of range");
- else if (success == 4)
- warning ("empty case range");
- else if (success == 5)
- error ("case label within scope of cleanup or variable array");
- }
- position_after_white_space (); ;
- break;}
- case 344:
- #line 1957 "objc-parse.y"
- {
- tree duplicate;
- register tree label
- = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
- int success = pushcase (NULL_TREE, 0, label, &duplicate);
- stmt_count++;
- if (success == 1)
- error ("default label not within a switch statement");
- else if (success == 2)
- {
- error ("multiple default labels in one switch");
- error_with_decl (duplicate, "this is the first default label");
- }
- position_after_white_space (); ;
- break;}
- case 345:
- #line 1972 "objc-parse.y"
- { tree label = define_label (input_filename, lineno, yyvsp[-1].ttype);
- stmt_count++;
- emit_nop ();
- if (label)
- expand_label (label);
- position_after_white_space (); ;
- break;}
- case 346:
- #line 1984 "objc-parse.y"
- { emit_line_note (input_filename, lineno);
- yyval.ttype = NULL_TREE; ;
- break;}
- case 347:
- #line 1987 "objc-parse.y"
- { emit_line_note (input_filename, lineno); ;
- break;}
- case 348:
- #line 1992 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 350:
- #line 1999 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 353:
- #line 2006 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 354:
- #line 2011 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 355:
- #line 2016 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ;
- break;}
- case 356:
- #line 2018 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ;
- break;}
- case 357:
- #line 2024 "objc-parse.y"
- { pushlevel (0);
- clear_parm_order ();
- declare_parm_level (0); ;
- break;}
- case 358:
- #line 2028 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype;
- parmlist_tags_warning ();
- poplevel (0, 0, 0); ;
- break;}
- case 360:
- #line 2036 "objc-parse.y"
- { tree parm;
- if (pedantic)
- pedwarn ("ANSI C forbids forward parameter declarations");
- /* Mark the forward decls as such. */
- for (parm = getdecls (); parm; parm = TREE_CHAIN (parm))
- TREE_ASM_WRITTEN (parm) = 1;
- clear_parm_order (); ;
- break;}
- case 361:
- #line 2044 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 362:
- #line 2046 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ;
- break;}
- case 363:
- #line 2052 "objc-parse.y"
- { yyval.ttype = get_parm_info (0); ;
- break;}
- case 364:
- #line 2054 "objc-parse.y"
- { yyval.ttype = get_parm_info (0);
- /* Gcc used to allow this as an extension. However, it does
- not work for all targets, and thus has been disabled.
- Also, since func (...) and func () are indistinguishable,
- it caused problems with the code in expand_builtin which
- tries to verify that BUILT_IN_NEXT_ARG is being used
- correctly. */
- error ("ANSI C requires a named argument before `...'");
- ;
- break;}
- case 365:
- #line 2064 "objc-parse.y"
- { yyval.ttype = get_parm_info (1); ;
- break;}
- case 366:
- #line 2066 "objc-parse.y"
- { yyval.ttype = get_parm_info (0); ;
- break;}
- case 367:
- #line 2071 "objc-parse.y"
- { push_parm_decl (yyvsp[0].ttype); ;
- break;}
- case 368:
- #line 2073 "objc-parse.y"
- { push_parm_decl (yyvsp[0].ttype); ;
- break;}
- case 369:
- #line 2080 "objc-parse.y"
- { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
- yyvsp[-1].ttype),
- build_tree_list (prefix_attributes,
- yyvsp[0].ttype));
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 370:
- #line 2089 "objc-parse.y"
- { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
- yyvsp[-1].ttype),
- build_tree_list (prefix_attributes,
- yyvsp[0].ttype));
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 371:
- #line 2098 "objc-parse.y"
- { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
- yyvsp[-1].ttype),
- build_tree_list (prefix_attributes,
- yyvsp[0].ttype));
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 372:
- #line 2107 "objc-parse.y"
- { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
- yyvsp[-1].ttype),
- build_tree_list (prefix_attributes,
- yyvsp[0].ttype));
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 373:
- #line 2117 "objc-parse.y"
- { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
- yyvsp[-1].ttype),
- build_tree_list (prefix_attributes,
- yyvsp[0].ttype));
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 374:
- #line 2131 "objc-parse.y"
- { pushlevel (0);
- clear_parm_order ();
- declare_parm_level (1); ;
- break;}
- case 375:
- #line 2135 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype;
- parmlist_tags_warning ();
- poplevel (0, 0, 0); ;
- break;}
- case 377:
- #line 2143 "objc-parse.y"
- { tree t;
- for (t = yyvsp[-1].ttype; t; t = TREE_CHAIN (t))
- if (TREE_VALUE (t) == NULL_TREE)
- error ("`...' in old-style identifier list");
- yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, yyvsp[-1].ttype); ;
- break;}
- case 378:
- #line 2153 "objc-parse.y"
- { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
- break;}
- case 379:
- #line 2155 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
- break;}
- case 380:
- #line 2161 "objc-parse.y"
- { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
- break;}
- case 381:
- #line 2163 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
- break;}
- case 387:
- #line 2175 "objc-parse.y"
- {
- if (objc_implementation_context)
- {
- finish_class (objc_implementation_context);
- objc_ivar_chain = NULL_TREE;
- objc_implementation_context = NULL_TREE;
- }
- else
- warning ("`@end' must appear in an implementation context");
- ;
- break;}
- case 388:
- #line 2190 "objc-parse.y"
- { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
- break;}
- case 389:
- #line 2192 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
- break;}
- case 390:
- #line 2197 "objc-parse.y"
- {
- objc_declare_class (yyvsp[-1].ttype);
- ;
- break;}
- case 391:
- #line 2203 "objc-parse.y"
- {
- objc_declare_alias (yyvsp[-2].ttype, yyvsp[-1].ttype);
- ;
- break;}
- case 392:
- #line 2209 "objc-parse.y"
- {
- objc_interface_context = objc_ivar_context
- = start_class (CLASS_INTERFACE_TYPE, yyvsp[-2].ttype, NULL_TREE, yyvsp[-1].ttype);
- objc_public_flag = 0;
- ;
- break;}
- case 393:
- #line 2215 "objc-parse.y"
- {
- continue_class (objc_interface_context);
- ;
- break;}
- case 394:
- #line 2220 "objc-parse.y"
- {
- finish_class (objc_interface_context);
- objc_interface_context = NULL_TREE;
- ;
- break;}
- case 395:
- #line 2226 "objc-parse.y"
- {
- objc_interface_context
- = start_class (CLASS_INTERFACE_TYPE, yyvsp[-1].ttype, NULL_TREE, yyvsp[0].ttype);
- continue_class (objc_interface_context);
- ;
- break;}
- case 396:
- #line 2233 "objc-parse.y"
- {
- finish_class (objc_interface_context);
- objc_interface_context = NULL_TREE;
- ;
- break;}
- case 397:
- #line 2239 "objc-parse.y"
- {
- objc_interface_context = objc_ivar_context
- = start_class (CLASS_INTERFACE_TYPE, yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[-1].ttype);
- objc_public_flag = 0;
- ;
- break;}
- case 398:
- #line 2245 "objc-parse.y"
- {
- continue_class (objc_interface_context);
- ;
- break;}
- case 399:
- #line 2250 "objc-parse.y"
- {
- finish_class (objc_interface_context);
- objc_interface_context = NULL_TREE;
- ;
- break;}
- case 400:
- #line 2256 "objc-parse.y"
- {
- objc_interface_context
- = start_class (CLASS_INTERFACE_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype);
- continue_class (objc_interface_context);
- ;
- break;}
- case 401:
- #line 2263 "objc-parse.y"
- {
- finish_class (objc_interface_context);
- objc_interface_context = NULL_TREE;
- ;
- break;}
- case 402:
- #line 2269 "objc-parse.y"
- {
- objc_implementation_context = objc_ivar_context
- = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[-1].ttype, NULL_TREE, NULL_TREE);
- objc_public_flag = 0;
- ;
- break;}
- case 403:
- #line 2275 "objc-parse.y"
- {
- objc_ivar_chain
- = continue_class (objc_implementation_context);
- ;
- break;}
- case 404:
- #line 2281 "objc-parse.y"
- {
- objc_implementation_context
- = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[0].ttype, NULL_TREE, NULL_TREE);
- objc_ivar_chain
- = continue_class (objc_implementation_context);
- ;
- break;}
- case 405:
- #line 2289 "objc-parse.y"
- {
- objc_implementation_context = objc_ivar_context
- = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype, NULL_TREE);
- objc_public_flag = 0;
- ;
- break;}
- case 406:
- #line 2295 "objc-parse.y"
- {
- objc_ivar_chain
- = continue_class (objc_implementation_context);
- ;
- break;}
- case 407:
- #line 2301 "objc-parse.y"
- {
- objc_implementation_context
- = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE);
- objc_ivar_chain
- = continue_class (objc_implementation_context);
- ;
- break;}
- case 408:
- #line 2309 "objc-parse.y"
- {
- objc_interface_context
- = start_class (CATEGORY_INTERFACE_TYPE, yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype);
- continue_class (objc_interface_context);
- ;
- break;}
- case 409:
- #line 2316 "objc-parse.y"
- {
- finish_class (objc_interface_context);
- objc_interface_context = NULL_TREE;
- ;
- break;}
- case 410:
- #line 2322 "objc-parse.y"
- {
- objc_implementation_context
- = start_class (CATEGORY_IMPLEMENTATION_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype, NULL_TREE);
- objc_ivar_chain
- = continue_class (objc_implementation_context);
- ;
- break;}
- case 411:
- #line 2332 "objc-parse.y"
- {
- remember_protocol_qualifiers ();
- objc_interface_context
- = start_protocol(PROTOCOL_INTERFACE_TYPE, yyvsp[-1].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 412:
- #line 2338 "objc-parse.y"
- {
- forget_protocol_qualifiers();
- finish_protocol(objc_interface_context);
- objc_interface_context = NULL_TREE;
- ;
- break;}
- case 413:
- #line 2347 "objc-parse.y"
- {
- yyval.ttype = NULL_TREE;
- ;
- break;}
- case 414:
- #line 2351 "objc-parse.y"
- {
- if (yyvsp[-2].code == LT_EXPR && yyvsp[0].code == GT_EXPR)
- yyval.ttype = yyvsp[-1].ttype;
- else
- YYERROR1;
- ;
- break;}
- case 417:
- #line 2365 "objc-parse.y"
- { objc_public_flag = 2; ;
- break;}
- case 418:
- #line 2366 "objc-parse.y"
- { objc_public_flag = 0; ;
- break;}
- case 419:
- #line 2367 "objc-parse.y"
- { objc_public_flag = 1; ;
- break;}
- case 420:
- #line 2372 "objc-parse.y"
- {
- yyval.ttype = NULL_TREE;
- ;
- break;}
- case 422:
- #line 2377 "objc-parse.y"
- {
- if (pedantic)
- pedwarn ("extra semicolon in struct or union specified");
- ;
- break;}
- case 423:
- #line 2395 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype;
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-1].itype); ;
- break;}
- case 424:
- #line 2401 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype;
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-1].itype); ;
- break;}
- case 425:
- #line 2407 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 426:
- #line 2412 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 429:
- #line 2419 "objc-parse.y"
- {
- yyval.ttype = add_instance_variable (objc_ivar_context,
- objc_public_flag,
- yyvsp[0].ttype, current_declspecs,
- NULL_TREE);
- ;
- break;}
- case 430:
- #line 2426 "objc-parse.y"
- {
- yyval.ttype = add_instance_variable (objc_ivar_context,
- objc_public_flag,
- yyvsp[-2].ttype, current_declspecs, yyvsp[0].ttype);
- ;
- break;}
- case 431:
- #line 2432 "objc-parse.y"
- {
- yyval.ttype = add_instance_variable (objc_ivar_context,
- objc_public_flag,
- NULL_TREE,
- current_declspecs, yyvsp[0].ttype);
- ;
- break;}
- case 432:
- #line 2442 "objc-parse.y"
- {
- remember_protocol_qualifiers ();
- if (objc_implementation_context)
- objc_inherit_code = CLASS_METHOD_DECL;
- else
- fatal ("method definition not in class context");
- ;
- break;}
- case 433:
- #line 2450 "objc-parse.y"
- {
- forget_protocol_qualifiers ();
- add_class_method (objc_implementation_context, yyvsp[0].ttype);
- start_method_def (yyvsp[0].ttype);
- objc_method_context = yyvsp[0].ttype;
- ;
- break;}
- case 434:
- #line 2457 "objc-parse.y"
- {
- continue_method_def ();
- ;
- break;}
- case 435:
- #line 2461 "objc-parse.y"
- {
- finish_method_def ();
- objc_method_context = NULL_TREE;
- ;
- break;}
- case 436:
- #line 2467 "objc-parse.y"
- {
- remember_protocol_qualifiers ();
- if (objc_implementation_context)
- objc_inherit_code = INSTANCE_METHOD_DECL;
- else
- fatal ("method definition not in class context");
- ;
- break;}
- case 437:
- #line 2475 "objc-parse.y"
- {
- forget_protocol_qualifiers ();
- add_instance_method (objc_implementation_context, yyvsp[0].ttype);
- start_method_def (yyvsp[0].ttype);
- objc_method_context = yyvsp[0].ttype;
- ;
- break;}
- case 438:
- #line 2482 "objc-parse.y"
- {
- continue_method_def ();
- ;
- break;}
- case 439:
- #line 2486 "objc-parse.y"
- {
- finish_method_def ();
- objc_method_context = NULL_TREE;
- ;
- break;}
- case 441:
- #line 2498 "objc-parse.y"
- {yyval.ttype = NULL_TREE; ;
- break;}
- case 446:
- #line 2505 "objc-parse.y"
- {yyval.ttype = NULL_TREE; ;
- break;}
- case 450:
- #line 2515 "objc-parse.y"
- {
- objc_inherit_code = CLASS_METHOD_DECL;
- ;
- break;}
- case 451:
- #line 2519 "objc-parse.y"
- {
- add_class_method (objc_interface_context, yyvsp[0].ttype);
- ;
- break;}
- case 453:
- #line 2525 "objc-parse.y"
- {
- objc_inherit_code = INSTANCE_METHOD_DECL;
- ;
- break;}
- case 454:
- #line 2529 "objc-parse.y"
- {
- add_instance_method (objc_interface_context, yyvsp[0].ttype);
- ;
- break;}
- case 456:
- #line 2537 "objc-parse.y"
- {
- yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE);
- ;
- break;}
- case 457:
- #line 2542 "objc-parse.y"
- {
- yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[0].ttype, NULL_TREE);
- ;
- break;}
- case 458:
- #line 2547 "objc-parse.y"
- {
- yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 459:
- #line 2552 "objc-parse.y"
- {
- yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 468:
- #line 2582 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 469:
- #line 2587 "objc-parse.y"
- { shadow_tag (yyvsp[-1].ttype); ;
- break;}
- case 470:
- #line 2589 "objc-parse.y"
- { pedwarn ("empty declaration"); ;
- break;}
- case 471:
- #line 2594 "objc-parse.y"
- { push_parm_decl (yyvsp[0].ttype); ;
- break;}
- case 472:
- #line 2596 "objc-parse.y"
- { push_parm_decl (yyvsp[0].ttype); ;
- break;}
- case 473:
- #line 2604 "objc-parse.y"
- { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
- yyvsp[-1].ttype),
- build_tree_list (prefix_attributes,
- yyvsp[0].ttype)); ;
- break;}
- case 474:
- #line 2609 "objc-parse.y"
- { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
- yyvsp[-1].ttype),
- build_tree_list (prefix_attributes,
- yyvsp[0].ttype)); ;
- break;}
- case 475:
- #line 2614 "objc-parse.y"
- { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
- yyvsp[-1].ttype),
- build_tree_list (prefix_attributes,
- yyvsp[0].ttype)); ;
- break;}
- case 476:
- #line 2622 "objc-parse.y"
- {
- yyval.ttype = NULL_TREE;
- ;
- break;}
- case 477:
- #line 2626 "objc-parse.y"
- {
- /* oh what a kludge! */
- yyval.ttype = (tree)1;
- ;
- break;}
- case 478:
- #line 2631 "objc-parse.y"
- {
- pushlevel (0);
- ;
- break;}
- case 479:
- #line 2635 "objc-parse.y"
- {
- /* returns a tree list node generated by get_parm_info */
- yyval.ttype = yyvsp[0].ttype;
- poplevel (0, 0, 0);
- ;
- break;}
- case 482:
- #line 2650 "objc-parse.y"
- {
- yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 487:
- #line 2663 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 488:
- #line 2664 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 489:
- #line 2665 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 490:
- #line 2666 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 491:
- #line 2667 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 492:
- #line 2668 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 493:
- #line 2669 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 494:
- #line 2670 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 495:
- #line 2671 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 496:
- #line 2672 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 497:
- #line 2673 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 498:
- #line 2674 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 499:
- #line 2675 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 500:
- #line 2676 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 501:
- #line 2677 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 502:
- #line 2678 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 503:
- #line 2679 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 504:
- #line 2680 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 505:
- #line 2681 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 508:
- #line 2687 "objc-parse.y"
- {
- yyval.ttype = build_keyword_decl (yyvsp[-5].ttype, yyvsp[-2].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 509:
- #line 2692 "objc-parse.y"
- {
- yyval.ttype = build_keyword_decl (yyvsp[-2].ttype, NULL_TREE, yyvsp[0].ttype);
- ;
- break;}
- case 510:
- #line 2697 "objc-parse.y"
- {
- yyval.ttype = build_keyword_decl (NULL_TREE, yyvsp[-2].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 511:
- #line 2702 "objc-parse.y"
- {
- yyval.ttype = build_keyword_decl (NULL_TREE, NULL_TREE, yyvsp[0].ttype);
- ;
- break;}
- case 515:
- #line 2715 "objc-parse.y"
- {
- yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 516:
- #line 2723 "objc-parse.y"
- {
- if (TREE_CHAIN (yyvsp[0].ttype) == NULL_TREE)
- /* just return the expr., remove a level of indirection */
- yyval.ttype = TREE_VALUE (yyvsp[0].ttype);
- else
- /* we have a comma expr., we will collapse later */
- yyval.ttype = yyvsp[0].ttype;
- ;
- break;}
- case 517:
- #line 2735 "objc-parse.y"
- {
- yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 518:
- #line 2739 "objc-parse.y"
- {
- yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype);
- ;
- break;}
- case 520:
- #line 2747 "objc-parse.y"
- {
- yyval.ttype = get_class_reference (yyvsp[0].ttype);
- ;
- break;}
- case 521:
- #line 2754 "objc-parse.y"
- { objc_receiver_context = 1; ;
- break;}
- case 522:
- #line 2756 "objc-parse.y"
- { objc_receiver_context = 0; ;
- break;}
- case 523:
- #line 2758 "objc-parse.y"
- {
- yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype);
- ;
- break;}
- case 527:
- #line 2771 "objc-parse.y"
- {
- yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 528:
- #line 2778 "objc-parse.y"
- {
- yyval.ttype = build_tree_list (yyvsp[-1].ttype, NULL_TREE);
- ;
- break;}
- case 529:
- #line 2782 "objc-parse.y"
- {
- yyval.ttype = build_tree_list (NULL_TREE, NULL_TREE);
- ;
- break;}
- case 530:
- #line 2789 "objc-parse.y"
- {
- yyval.ttype = yyvsp[-1].ttype;
- ;
- break;}
- case 531:
- #line 2796 "objc-parse.y"
- {
- yyval.ttype = yyvsp[-1].ttype;
- ;
- break;}
- case 532:
- #line 2805 "objc-parse.y"
- {
- yyval.ttype = groktypename (yyvsp[-1].ttype);
- ;
- break;}
- }
- /* the action file gets copied in in place of this dollarsign */
- #line 480 "/usr/local/lib/bison.simple"
-
- yyvsp -= yylen;
- yyssp -= yylen;
- #ifdef YYLSP_NEEDED
- yylsp -= yylen;
- #endif
-
- #if YYDEBUG != 0
- if (yydebug)
- {
- short *ssp1 = yyss - 1;
- fprintf (stderr, "state stack now");
- while (ssp1 != yyssp)
- fprintf (stderr, " %d", *++ssp1);
- fprintf (stderr, "\n");
- }
- #endif
-
- *++yyvsp = yyval;
-
- #ifdef YYLSP_NEEDED
- yylsp++;
- if (yylen == 0)
- {
- yylsp->first_line = yylloc.first_line;
- yylsp->first_column = yylloc.first_column;
- yylsp->last_line = (yylsp-1)->last_line;
- yylsp->last_column = (yylsp-1)->last_column;
- yylsp->text = 0;
- }
- else
- {
- yylsp->last_line = (yylsp+yylen-1)->last_line;
- yylsp->last_column = (yylsp+yylen-1)->last_column;
- }
- #endif
-
- /* Now "shift" the result of the reduction.
- Determine what state that goes to,
- based on the state we popped back to
- and the rule number reduced by. */
-
- yyn = yyr1[yyn];
-
- yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
- if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
- yystate = yytable[yystate];
- else
- yystate = yydefgoto[yyn - YYNTBASE];
-
- goto yynewstate;
-
- yyerrlab: /* here on detecting error */
-
- if (! yyerrstatus)
- /* If not already recovering from an error, report this error. */
- {
- ++yynerrs;
-
- #ifdef YYERROR_VERBOSE
- yyn = yypact[yystate];
-
- if (yyn > YYFLAG && yyn < YYLAST)
- {
- int size = 0;
- char *msg;
- int x, count;
-
- count = 0;
- /* Start X at -yyn if nec to avoid negative indexes in yycheck. */
- for (x = (yyn < 0 ? -yyn : 0);
- x < (sizeof(yytname) / sizeof(char *)); x++)
- if (yycheck[x + yyn] == x)
- size += strlen(yytname[x]) + 15, count++;
- msg = (char *) malloc(size + 15);
- if (msg != 0)
- {
- strcpy(msg, "parse error");
-
- if (count < 5)
- {
- count = 0;
- for (x = (yyn < 0 ? -yyn : 0);
- x < (sizeof(yytname) / sizeof(char *)); x++)
- if (yycheck[x + yyn] == x)
- {
- strcat(msg, count == 0 ? ", expecting `" : " or `");
- strcat(msg, yytname[x]);
- strcat(msg, "'");
- count++;
- }
- }
- yyerror(msg);
- free(msg);
- }
- else
- yyerror ("parse error; also virtual memory exceeded");
- }
- else
- #endif /* YYERROR_VERBOSE */
- yyerror("parse error");
- }
-
- goto yyerrlab1;
- yyerrlab1: /* here on error raised explicitly by an action */
-
- if (yyerrstatus == 3)
- {
- /* if just tried and failed to reuse lookahead token after an error, discard it. */
-
- /* return failure if at end of input */
- if (yychar == YYEOF)
- YYABORT;
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
- #endif
-
- yychar = YYEMPTY;
- }
-
- /* Else will try to reuse lookahead token
- after shifting the error token. */
-
- yyerrstatus = 3; /* Each real token shifted decrements this */
-
- goto yyerrhandle;
-
- yyerrdefault: /* current state does not do anything special for the error token. */
-
- #if 0
- /* This is wrong; only states that explicitly want error tokens
- should shift them. */
- yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
- if (yyn) goto yydefault;
- #endif
-
- yyerrpop: /* pop the current state because it cannot handle the error token */
-
- if (yyssp == yyss) YYABORT;
- yyvsp--;
- yystate = *--yyssp;
- #ifdef YYLSP_NEEDED
- yylsp--;
- #endif
-
- #if YYDEBUG != 0
- if (yydebug)
- {
- short *ssp1 = yyss - 1;
- fprintf (stderr, "Error: state stack now");
- while (ssp1 != yyssp)
- fprintf (stderr, " %d", *++ssp1);
- fprintf (stderr, "\n");
- }
- #endif
-
- yyerrhandle:
-
- yyn = yypact[yystate];
- if (yyn == YYFLAG)
- goto yyerrdefault;
-
- yyn += YYTERROR;
- if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
- goto yyerrdefault;
-
- yyn = yytable[yyn];
- if (yyn < 0)
- {
- if (yyn == YYFLAG)
- goto yyerrpop;
- yyn = -yyn;
- goto yyreduce;
- }
- else if (yyn == 0)
- goto yyerrpop;
-
- if (yyn == YYFINAL)
- YYACCEPT;
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Shifting error token, ");
- #endif
-
- *++yyvsp = yylval;
- #ifdef YYLSP_NEEDED
- *++yylsp = yylloc;
- #endif
-
- yystate = yyn;
- goto yynewstate;
- }
- #line 2810 "objc-parse.y"
-
-